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


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.

L

  • Comment on Re^2: HTML Sanitizer (removes unwanted tags)