Run the output of HTML::LoL through something like HTML::Tidy or HTML::Tidy5 on its way out?
In reply to Re: Newlines in HTML::LoL by Radiola in thread Newlines in HTML::LoL by BernieC