Comments within style tags
Robert Bergs (rbergs@argogroup.com)
Tue, 1 Aug 2000 12:38:23 +0100
Given a file containing something like this :-
<style>
<!--
...details of style
-->
</style>
The HTML::TreeBuilder / HTML::Entities modules have a problem when
re-outputting the HTML. The < and > in the comments get incorrectly replaced
for < and &rt; which 'breaks' the HTML. The same happens for commented
Javascript as well. I don't know if the problem is with as_HTML or
elsewhere. Anyone got any advice / workarounds / more info?
Robert Bergs.