aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/admin/randomly_named_a9.yml
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-05-06 01:05:43 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-05-06 01:05:43 +0530
commit58a49875df63729f07a9a81d1ee349087d258df5 (patch)
tree2fcc97230e0ec2be6bca91465d75b6a434f2b6da /activerecord/test/fixtures/admin/randomly_named_a9.yml
parentf54a35c4eab3d923f650cdd384b388e1b2a9be11 (diff)
downloadrails-58a49875df63729f07a9a81d1ee349087d258df5.tar.gz
rails-58a49875df63729f07a9a81d1ee349087d258df5.tar.bz2
rails-58a49875df63729f07a9a81d1ee349087d258df5.zip
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?'
Diffstat (limited to 'activerecord/test/fixtures/admin/randomly_named_a9.yml')
0 files changed, 0 insertions, 0 deletions