Feature #1219

Add an option to make RedCloth not use hard_breaks

Added by Leandro Lucarella 8 days ago.

Status :New Start :2008-05-09
Priority :Normal Due date :
Assigned to :- % Done :

0%

Category :Wiki
Target version :-
Resolution :


Description

When using textile, all end of lines are translated as <br />, which is an odd behavior for a wiki. Changing this to make RedCloth use hard_breaks = false could be a little hardcore because a lot people can be relaying on that behavior now. So I think it would be nice if an option is added (like textile_hard_breaks) to the settings to be able to change this behavior.

I tried to make the patch myself but since I'm not familiar with Ruby and RoR, it's a little hard, but I have experience in Python and other web frameworks, so with some pointers maybe I can do the job =)

Also available in: Atom PDF