Follow-up Comment #5, bug #5348 (project savane):

Hm, your example looks indeed faulty, but not because of the newlines and <br
/> tags, those look good to me. However, I would expect it to contain
paragraphs. Example:

"first line

second line"

This should be rendered as:

"<p>first line<br />
</p>
<p>second line<br />
</p>"

> How can that be? The whole issues seems simple to me: nl2br
> unless we are in the basic case.

Unfortunately, it's not as simple, because we support lists (and headings) as
well. We don't want to add <br /> tags there, and we certainly don't want to
add them to the <pre> parts, which are accessible through our +verbatim+
tags.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?func=detailitem&item_id=5348>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Savane-dev mailing list
[email protected]
https://mail.gna.org/listinfo/savane-dev

Reply via email to