Full Screen
Exit Fullscreen

htmLawed

Rated3.3/5 (12 ratings)
Add to Favorites
Publisher
Customizable HTML/XHTML filter, processor, purifier, sanitizer, beautifier, etc.
Product Details

htmLawed is a highly customizable single-file PHP script to make text secure, and standard- and admin policy-compliant for use in the body of HTML, XHTML or generic XML documents. It is thus filter, processor, purifier, sanitizer, beautifier, etc., and an alternative to HTMLTidy. htmLawed ensures that HTML code in the text is standard-compliant, does not introduce security vulnerabilities, and does not break the aesthetics, design or layout of web-pages. htmLawed tries to do this by, for example, making HTML well-formed with balanced and properly nested tags, neutralizing code that may be used for cross-site scripting (XSS) attacks, and allowing specified tags & attributes. It is used to filter blog comments & forum posts, generate XML-compatible feed items, make old HTML XHTML-compliant, pretty-print HTML, scrape web-pages, etc. Compared to HTMLPurifier, it has full HTML coverage, is 10-15x smaller in size & memory use, faster and PHP 4-compatible.

Report this Listing
Price
Free
Licence Type
Free
Views
3,000
Submitted on
6th November 2007
Last Updated
5th September 2021
Licence Type
LGPL
License Price
USD 0
Additional Info
version 3
Licence Type
GPL
License Price
USD 0
Additional Info
version 2 or later

You May Also Like

User Reviews

Please rate the listing and tell the world know what do you think about the listing.
(12 ratings)
Average User Rating: 3.3/5
No reviews found.
Not yet reviewed by any member. You can be the first one to write a review for this listing.Click hereto submit your review.