htmLawed Icon

htmLawed

PHP code to purify & filter HTML

Add a Review
1 Download (This Week)
Last Update:
Download htmLawed_1.1.22_5Mar2016.zip
Browse All Files

Screenshots

Description

The htmLawed PHP script makes HTML more secure and standards- & policy-compliant. The customizable HTML filter/purifier can balance tags, ensure proper nestings, neutralize XSS, restrict HTML, beautify code like Tidy, implement anti-spam measures, etc.

htmLawed Web Site

Features

  • make HTML markup in text secure and standard-compliant
  • process text for use in HTML, XHTML or XML documents
  • restrict HTML elements, attributes or URL protocols using black- or white-lists
  • balance tags, check element nesting, transform deprecated attributes and tags, make relative URLs absolute, etc.
  • fast, highly customizable, well-documented
  • single, 48 kb file
  • simple HTML Tidy alternative
  • free and licensed under LGPL v3 and GPL v2+
  • use to filter, secure & sanitize HTML in blog comments or forum posts, generate XML-compatible feed items from web-page excerpts, convert HTML to XHTML, pretty-print HTML, scrape web-pages, reduce spam, remove XSS code, etc.
  • version with HTML5 support (check htmLawed website)

KEEP ME UPDATED

Write a Review

User Reviews

Be the first to post a review of htmLawed!

Additional Project Details

Intended Audience

Developers, Information Technology

Programming Language

PHP

Registered

2009-02-22

Thanks for helping keep SourceForge clean.

Screenshot instructions:
Windows
Mac
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies
X

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks