Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

RE: HTML Sanitizer (removes unwanted tags)

by merlyn (Sage)
on Aug 08, 2000 at 07:20 UTC ( [id://26730]=note: print w/replies, xml ) Need Help??


in reply to HTML Sanitizer (removes unwanted tags)

From a user interface standpoint, you might want to simplify the configurations section:
## BEGIN CONFIGURE my @KEEP = qw(a p img br); ## END CONFIGURE ... ... # just before the business loop: my %keep; @keep{@KEEP} = (); ... ... "it's good" if exists $keep{$1}; # or whatever
That data structure requiring them to specify the whole hash is troublesome.

-- Randal L. Schwartz, Perl hacker

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (1)
As of 2024-04-18 23:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found