in reply to HTML::Scrubber stripping hrefs when I don't want it to
$scrubber->default(1) allows the tags ('a' etc.) but not the tag's attributes ('href' etc.). To allow the 'href' attribute you need to change it to:
and it's more like a doorman than a WMD :)# allow href $scrubber->default(1,{'href'=> 1}); # or allow all tag attributes $scrubber->default(1,{'*'=> 1});
|
---|
In Section
Seekers of Perl Wisdom