Steve Sapovits <[EMAIL PROTECTED]> writes: > Is there a way to get HTML::Parser to leave entities in text alone?
Just use 'text' argspec and you get the text exactly as it is.
> There is the attr_encode() method, but that only appears to affect
> attributes. Basically I have code that wants to selectively remove
> some tags but leave others and entities intact.
The hstrip example does exactly this.
http://search.cpan.org/src/GAAS/HTML-Parser-3.45/eg/hstrip
Regards,
Gisle
