htmlpurifier.org — HTML Purifier is a standards-compliant HTML filter written in PHP. Because it uses whitelists and a comprehensive knowledge of the HTML specification, it is bullet-proof against XSS, fixes malformed input rather than reject it, and is open and extensible.
Jun 21, 2007 View in Crawl 4
robertgonzalezJun 21, 2007
This is one heck of an application. A lot of time went into it and it shows.
nozavroniJun 21, 2007
For HTML filtering, there is simply no better solution for PHP. This is hands-down the most thorough, and well thought-out filtering library I've ever seen, not to mention the only one that is capable to (x)html-compliant output. I haven't had a chance to use HTML Purifier 2.0 yet, but I will be working on a custom CMS for a client very soon with the ability for users to comment on articles. This will be vital to my application. Well done, AmbushCommander. Bravo!