He already has an entry
so I was proposing that he add support for a style of option that would allow all attributes that start with "on" to be disallowed.'*' => 1, # default rule, allow all attributes
I proposed two possible ways to allow the user to specify such, "on*" => 0 or qr/^on/i => 0. The first would require that the code check for "*" in options while the second would require checking for references to Regexp objects.
Either one would require extra work in the module. But the huge number of attribute names matching on* (and that this list appears to be growing over time) means the extra effort might be worthwhile.
- tyeIn reply to Re^4: HTML::Scrubber - Perl extension for scrubbing/sanitizing html (turn "on" off)
by tye
in thread HTML::Scrubber - Perl extension for scrubbing/sanitizing html
by PodMaster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |