Skip Menu |

This queue is for tickets about the HTML-Format CPAN distribution.

Report information
The Basics
Id: 69924
Status: new
Priority: 0/
Queue: HTML-Format

People
Owner: Nobody in particular
Requestors: struan [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.10
Fixed in: (no value)



Subject: Tags inside a pre tag suppress new lines
Hi, This was reported as a bug in HTML::FormatText::WithLinks (RT #68548) but having looked into looks like a bug with HTML::Formatter. Essentially this HTML: <pre> This is on one <span>line</span> and this on another </p> will get merged on to one line because of the way that textflow is called three times and hence strips beginning and end \n's three times. I had a bit of a think about it but I failed to see any clean way of fixing this :( I thought I'd report the bug anyway. Thanks Struan