[Html-widget] HTML::Element escaping issues
Carl Franks
fireartist at gmail.com
Wed Oct 25 08:20:27 GMT 2006
I've emailed Pete Krawczyk, a new maintainer for HTML::Tree, and he's
accepted a patch to make HTML/Element.pm's _xml_escape() routine less
greedy.
It should be included in the next release of HTML::Tree.
If you want to test anything in advance, the patch was as follows:
1724c1724
< $x =~ s<([^\x20\x21\x23\x27-\x3b\x3d\x3F-\x5B\x5D-\x7E])>
---
> $x =~ s<([&"'<>])>
More information about the Html-widget
mailing list