|
Demo
test online Documentation
readme Discuss
forum |
htmLawed
PHP script to filter & purify HTML code • makes HTML code in text more secure and standard-compliant • processed text can be used in HTML 4, or XHTML 1 or 1.1 documents • restricts HTML by filtering unallowed HTML elements, attributes, protocols, etc. • performs other tasks like transforming deprecated tags and converting relative to absolute URLs • highly customizable • single file of ~45 kb • used to filter & sanitize HTML code submitted in blog comments, forum posts, etc.; generate XML-compatible feed items from web-page excerpts; make old HTML code XHTML-compliant, and so on more... |