Are there any similar projects to this python HTML sanitizer?

Asked by dan mackinlay

just that. what else can i use to achieve this goal of perfectly clean HTML?

Question information

Language:
English Edit question
Status:
Solved
For:
Python HTML Sanitizer Edit question
Assignee:
No assignee Edit question
Solved by:
dan mackinlay
Solved:
Last query:
Last reply:
Revision history for this message
dan mackinlay (dan-possumpalace) said :
#1

just found one other python library to do what we do...
http://amisphere.com/contrib/python-html-filter/

In php land there is
PHP5's HTML Purifier (http://htmlpurifier.org/) and
cal Henderson's filter.php http://iamcal.com/publish/articles/php/processing_html/

Ruby's has HTML::Sanitizer (http://railsmanual.com/class/HTML::Sanitizer)

ruby and python now seem to have a new one:
http://code.google.com/p/html5lib/

Revision history for this message
dan mackinlay (dan-possumpalace) said :
#2

And, for the interested, this sanitizer now uses html5lib as the parser where it is available.