http://qs321.pair.com?node_id=807592


in reply to Where did HTML::Sanitizer go?

You also might want to consider http://tidy.sourceforge.net/ for cleaning up your HTML.

While not a perl solution, it does bring some sanity to HTML tag soup.