Module to filter HTML

V

Vito Corleone

Hi,
I am looking for module to filter HTML input from user. It should allow
<b> <i> <img> and some other tags, and remove the evil tags. I found
HTML::Sanitizer, but the last update is August 2003. Is there any other
alternative? Or is it ok to use HTML::Sanitizer? Thank you very much.

--Vito
 
J

Jim Keenan

Vito Corleone said:
Hi,
I am looking for module to filter HTML input from user. It should allow
<b> <i> <img> and some other tags, and remove the evil tags. I found
HTML::Sanitizer, but the last update is August 2003. Is there any other
alternative? Or is it ok to use HTML::Sanitizer? Thank you very much.

--Vito

The mere fact that a module has not had a version update in twelve
months does not, in and of itself, preclude its use. Perhaps the
module met the author's goals at that point and, lacking feedback from
other users, there was no compelling reason for him/her to revise it
further.

The author of HTML::Sanitizer does caution the user about the "low
version number," but the documentation does suggest that he put a lot
of thought into it.

So my suggestions: (1) Try the module out in a non-production
environment with typical user input. (2) If it doesn't do what you
want, try some of the other, better known modules to which the author
provides links in the "SEE ALSO" section.

jimk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,159
Messages
2,570,880
Members
47,417
Latest member
DarrenGaun

Latest Threads

Top