1

Topic: Comparison with HTMLPurifier

Hello,

I do not pretend to be an expert in html validation but I was having a real hard time making my CMS working right using html purifier, then I decided to give htmLawed a try. What a relief!

IMHO htmLawed is way ahead in what users need.

Here's what I like about it:

1) Not too complicated
2) Fast
3) Not too hard on the cpu
4) Working right!

Keep up the good work and thank you very much for this very well written code.

(Sorry for the broken english).

2

Re: Comparison with HTMLPurifier

Thank you for the positive feedback.

HTMLPurifier certainly inspired me to develop htmLawed. I had come across HTMLPurifier while looking for some code to balance HTML tags, but found that it lacked support for all of HTML (which my application needed), and compromised on customizability and usability for the sake of the rather esoteric '100% standard-compliance'. It was, of course, too resource-intensive and slow. I thought of modifying the code, but decided against it: the logic of its large code-base wasn't documented well, and the object-oriented nature of the code put a drag on the functionality.

(also see this comparison)