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 &lt; 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.

Reply via email to