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