Line break bug?
gaspard at teti.ch
Fri Apr 11 08:06:39 EDT 2008
I totally agree. I fixed it in my own projects by doing a gsub on the
For me (and all my clients), it's clear that when they write
45, funny stree
They *want* the breaks.
The absence of the <br/> is an "inverse" fix. Some form entries used
to automatically wrap lines by adding "\n" (as in most web emails).
The inverse fix made text entries tolerant to this "bug".
Normal behaviour should definitely be to insert the <br/> tag. When
some input comes malformed, it should be unwrapped before parsing.
This would really make sense.
So, please add the <br/>.
On Fri, Apr 11, 2008 at 12:23 PM, Thomas Watson Steen <twa at 3dbyggeri.dk> wrote:
> As far as I can read on blogs around the internet, this "bug" is not new:
> is translated to: "<p>foo bar</p>" and not "<p>foo<br />bar</p>".
> After searching the web for an answer it seems that the missing line-break
> functionality is there on purpose.
> What is the reason for this?
> ... and is there a way to "fix" it?
> Redcloth-upwards mailing list
> Redcloth-upwards at rubyforge.org
More information about the Redcloth-upwards