Menu

#141 HTML Rendering: extra line feed in Pre formatted text

open
nobody
5
2005-07-12
2005-07-12
Anonymous
No

Preformatted text is not output as input, rather a single
line becomes two lines; one extra line being added.

Now by incident I saw that this behaviour seems to
apply throughout the application. For instance a list is
output like this

<ul>
<li>aaa</li>

<li>bbb</li>

....

In the list example the extra line does not harm - in
Code output it does. Maybe this is due to the old story
in all C-derived languages where a linefeed is
automatically extended to carriage-return & line feed?

Submitted by Hubertd@neusob.de
(registration still pending)

Discussion


Log in to post a comment.