Feature #1219

Add an option to make RedCloth not use hard_breaks

Added by Leandro Lucarella over 13 years ago. Updated over 13 years ago.

Status:NewStart date:2008-05-09
Priority:NormalDue date:
Assignee:-% 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 =)

History

#1 Updated by Paul Rivier over 13 years ago

I agree.

Also available in: Atom PDF