Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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.

    L

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://449471]
help
Chatterbox?
[choroba]: I don't even remember the beginning
[choroba]: someone told me to use perl instead of sed for something, and several years later, I'm developing a huge Tk application
[Discipulus]: choroba started in primary school to get some advantage in the future..

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2018-06-22 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (123 votes). Check out past polls.

    Notices?