Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: HTML Sanitizer (removes unwanted tags)

by ehdonhon (Curate)
on Apr 20, 2005 at 01:10 UTC ( [id://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.

    L

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-16 14:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found