Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: HTML Sanitizer (removes unwanted tags)

by ehdonhon (Curate)
on Apr 20, 2005 at 01:10 UTC ( #449471=note: print w/ replies, xml ) Need Help??

in reply to HTML Sanitizer (removes unwanted tags)

Where does sub output() get invoked?

Comment on Re: HTML Sanitizer (removes unwanted tags)
Replies are listed 'Best First'.
Re^2: HTML Sanitizer (removes unwanted tags)
by lhoward (Vicar) on Apr 20, 2005 at 10:58 UTC
    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.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://449471]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2015-10-05 02:49 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (106 votes), past polls