Binary package “libhtml-scrubber-perl” in ubuntu precise
Perl extension for scrubbing/sanitizing html
If you want to "scrub" or "sanitize" html input in a reliable and
flexible fashion, then this module is for you.
The author was not satisfied with HTML::Sanitizer because it
is based on HTML::TreeBuilder, so he write something similar that works
directly with HTML::Parser.