Projects / htmLawed


htmLawed is a PHP script that makes input text more secure, HTML standards-compliant, and suitable in general from the viewpoint of a Web-page administrator, for use in the body of HTML 4 or XHTML 1 or 1.1 documents. It is a customizable HTML/XHTML filter, processor, purifier, and sanitizer. It can ensure that HTML tags are balanced and properly nested tags, neutralize code that may be used for cross-site scripting (XSS) attacks, and limit the allowed HTML elements, tags, attributes, or URL protocols.

Operating Systems

Recent releases

  •  11 Mar 2014 22:21

    Release Notes: This release removes use of the PHP function preg_replace with an e modifier for compatibility with PHP 5.5.

    •  29 Aug 2013 20:05

      Release Notes: This version has a fix for a potential security vulnerability arising from specially encoded space characters in URL schemes/protocols.

      •  11 Aug 2013 07:19

        Release Notes: This release improves handling of whitespace during execution of the HTML tidying/beautifying behavior of htmLawed.

        •  07 Aug 2013 04:43

          Release Notes: This release improves checking for valid nesting within the a element.

          •  12 Jun 2013 01:11

            Release Notes: This is the current beta version for the upcoming version 1.2 of htmLawed with support for HTML5.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.