#1 <PRE> tags are not rendered correctly

open
Leon Brocard
5
1999-12-06
1999-12-03
Mark Fowler
No

In <PRE> tags, line breaks are not honoured.

This is because of the line :

$content =~ s|[\n\r]| |g; # temporary hack

which removes all line breaks. This shouldn't matter in normal HTML, but has terrible effects on pre-rendered text.

Discussion

  • Leon Brocard
    Leon Brocard
    1999-12-06

    • assigned_to: nobody --> acme
    • status: Error - status not found --> open