Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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 browsing the Monastery: (10)
As of 2015-12-01 16:56 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (21 votes), past polls