Project

General

Profile

Actions

Feature #1219

open

Add an option to make RedCloth not use hard_breaks

Added by Leandro Lucarella about 16 years ago. Updated almost 16 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2008-05-09
Due date:
% Done:

0%

Estimated time:
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 =)

Actions

Also available in: Atom PDF