Welcome! » Log In » Create A New Profile

htmLawed, another HTML filter-purifier

Posted by patnaik 
htmLawed, another HTML filter-purifier
November 02, 2007 07:00AM

Inspired by HTMLPurifier, I have released htmLawed, a light-weight HTML filter & purifier. It's a single-file, non-OOP script of ~45 kb with a basal peak memory usage of ~0.5 MB. htmLawed is highly and easily customizable, and can be used for HTML 4, or XHTML 1 or 1.1 documents.

Re: htmLawed, another HTML filter-purifier
November 03, 2007 12:44AM

See <a href="http://www.bioinformatics.org/phplabware/forum/viewtopic.php?id=24">this forum topic</a> for my comments on this new library. I will probably update the Comparison page with htmLawed.

It should be noted that this is basically "kses upgraded" / "kses on steroids".

Re: htmLawed, another HTML filter-purifier
November 03, 2007 07:22AM

In terms of what it can do, htmLawed is far beyond KSES. 'HTML Purifier's younger brother' may be a better annotation!

Re: htmLawed, another HTML filter-purifier
November 03, 2007 01:11PM

I agree that it's feature-set is far beyond KSES. However, it is derived from KSES and that's why I call it as such. :-) I'm sure you've rewritten most of the code.

Sorry, you do not have permission to post/reply in this forum.