1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

4 commits

Author SHA1 Message Date
Xavier Noria
ac8b71cc20 guides assets are now centralized in the assets directory, with standard subdirs 2010-04-04 02:30:31 -07:00
Joseph Pecoraro
dd888c9603 Removed the Javascript. It conflicts with the highlighting code. 2009-05-30 00:48:22 -04:00
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
Pratik Naik
96d610553e Merge docrails along with the new guides and guides generation code 2009-02-06 02:01:22 +00:00