Explore top 10 tips to secure your open-source projects now. Read More
×PHP code to purify and filter HTML
* 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 and 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.
Update Information:
**Version 1.1.21** - 27 February 2016. * Improvement and security fix in
transforming 'font' element.
Fedora Update Notification FEDORA-2016-6b977c4737 2016-03-11 09:31:28.305942
Name : php-htmLawed Product : Fedora 23 Version : 1.1.21 Release : 1.fc23 URL : http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/ Summary : PHP code to purify and filter HTML Description : PHP code to purify and filter HTML
* 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 and 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.
This update can be installed with the "yum" update program. Use su -c 'yum update php-htmLawed' at the command line. For more information, refer to "Managing Software with yum", available at .
Get the latest Linux and open source security news straight to your inbox.