1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/guides
Joseph Pecoraro bf1b1e976b Semi-fix for Firefox code Copy and Paste
The underlieing problem is that Firefox ignores the css 'white-space:pre'
rule when actually copying and pasting. This Javascript turns newlines
into <br /> tags inside the code containers.

This will run in Safari, Opera, Chrome, Webkit, etc. gracefully.
This will not run in IE due to IE not having the methods needed.

A permanent solution would be at the Markdown level in such a way that
the highlighter still runs on the output with brake tags.
2009-05-29 18:35:55 -04:00
..
files Semi-fix for Firefox code Copy and Paste 2009-05-29 18:35:55 -04:00
images attempt at fixing fxn picture in credits page 2009-05-19 10:02:08 +02:00
rails_guides Supply fullfile name to the generator 2009-04-05 23:08:03 +01:00
source Linked to the IRC channel. 2009-05-29 16:27:50 -04:00
rails_guides.rb Merge docrails 2009-03-24 12:15:43 +00:00