in reply to Re: HTML Sanitizer (removes unwanted tags)
in thread HTML Sanitizer (removes unwanted tags)

Been too long since I wrote that code. In that code I am subclassing HTML::Filter into HTML::Sanitizer, replacing its output sub with the I wrote. I never explicitly call it.

There are slicker ways to solve this problem today, for instance the HTML::Sanitizer module that didn't even exist when I wrote this example.