http://www.perlmonks.org?node_id=959153


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:
# allow href $scrubber->default(1,{'href'=> 1}); # or allow all tag attributes $scrubber->default(1,{'*'=> 1});
and it's more like a doorman than a WMD :)