htmLawed 1.1.16 / 1.2 Beta 3

PHP code to purify & filter HTML.
  1 Screenshot
htmLawed is a PHP code to filter & purify HTML code.

Main features:

  • make HTML markup in text more secure and standard-compliant
  • processed text can be used in HTML, XHTML or XML documents
  • restrict HTML elements, attributes, protocols, etc.
  • balance tags, check element nesting, transform deprecated attributes and tags, convert relative to absolute URLs, etc.
  • highly customizable
  • single file of ~45 kb
  • simple HTML Tidy alternative
  • use 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, pretty-print HTML, scrape web-pages, and so on

last updated on:
August 31st, 2013, 5:08 GMT
license type:
GPL v3 
developed by:
Santosh Patnaik
ROOT \ Text Editing&Processing \ Markup
Download Button

In a hurry? Add it to your Download Basket!

user rating 1



Rate it!
What's New in version 1.1.16
  • This release has a fix for a potential security vulnerability arising from specially encoded space characters in URL schemes/protocols.
read full changelog

Add your review!