1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/guides
Vijay Dev 58a49875df Make RedCloth not convert double hyphens to emdashes. Closes #5292
As mentioned in http://redcloth.org/textile/writing-paragraph-text/#dashes
RedCloth converts double hyphens to emdashes. This causes problems in
the guides where options like --database, --full are rendered incorrectly.

This commit fixes it by customizing the emdash method in the
RedCloth::Formatters::HTML module to just return '--'. See their FAQ
http://redcloth.org/faq in the section 'How do I customize RedCloth?'
2012-05-06 01:05:43 +05:30
..
assets Rewrite comments action in getting started guide 2012-05-02 11:40:25 +02:00
code/getting_started Remove tags from getting started guide and adapt some of the content to 2012-05-02 11:40:25 +02:00
rails_guides Make RedCloth not convert double hyphens to emdashes. Closes #5292 2012-05-06 01:05:43 +05:30
source some corrections in the AR query guide [ci skip] 2012-05-05 23:54:16 +05:30
rails_guides.rb moves the guides up to the root directory 2012-03-17 08:32:49 -07:00
Rakefile moves the guides up to the root directory 2012-03-17 08:32:49 -07:00
w3c_validator.rb Updated/changed useless tr/gsubs 2012-04-03 15:16:09 +02:00