00549: Add (:linebreaks:) and (:nolinebreaks:) to the core (Closed - added to 2.0.11)
Many people want to have the ability to have newlines in the markup text translate to newlines upon output. This is available from Cookbook:LineBreaks? but many admins don't
seem to find it.
(:nolinebreaks:) should just become part of the core markup?
I think so --chr
Yes please! -- NeilHerber October 02, 2005, at 09:37 PM
Yes, and for this addition as well as a global setting
$HTMLPNewline= '<br />';
Suggest that rendering be both the same and also be the same as if it were done manually with "\\" after every line, such that initial block styles apply throughout. like this:
->%green%test\\ one\\ two\\ three \\
where the HTML output is
<div class='indent'><span style='color: green;' >test<br />one<br />two<br />three <br /></span></div>
and not (slashes added because linebreaks does not appear implement on the config for this page):
(:linebreaks:) ->%green%test one\\ two\\ three
which gets you:
<div class='indent'><span style='color: green;' >test</span>