0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-22 08:21:52 +00:00
Standards compliant HTML filter written in PHP. http://htmlpurifier.org
Go to file
2017-02-09 23:34:19 +01:00
art [2.0.1] Implement haphazard error collection for AttrValidator. 2007-06-27 02:03:15 +00:00
benchmarks Don't use PHP4-style constructors 2016-03-16 17:09:41 -07:00
configdoc Refactor HTML.Noopener to HTML.TargetNoopener so that it behaves like HTML.TargetNoreferrer and is active by default if a target is set 2017-02-03 16:54:51 -08:00
docs tel protocol support. 2016-06-30 21:19:49 -04:00
extras PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
library Include hsl and hsla support 2017-02-09 23:34:19 +01:00
maintenance Release 4.7.0. 2015-08-04 18:03:42 -07:00
plugins PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
smoketests New smoketest for testing configuration HTML form. 2016-07-01 15:50:51 -04:00
tests Include hsl and hsla support 2017-02-09 23:34:19 +01:00
.gitattributes export-ignore .travis.yml 2017-01-19 09:28:40 -08:00
.gitignore Improve gitignore. 2013-10-13 00:18:11 -07:00
.travis.yml Travis support. 2016-10-27 02:00:47 -07:00
composer.json css properties: min-width, max-width, min-height, max-height 2016-09-05 10:45:58 +03:00
CREDITS Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
Doxyfile Release 4.8.0 2016-07-16 05:58:58 -07:00
INSTALL Don't suggest 777, only 775. 2016-03-27 15:59:10 -07:00
INSTALL.fr.utf8 Remove BOM from file INSTALL.fr.utf8 It's only one file with BOM among project 2016-03-24 20:25:58 -07:00
LICENSE Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
NEWS Refactor HTML.Noopener to HTML.TargetNoopener so that it behaves like HTML.TargetNoreferrer and is active by default if a target is set 2017-02-03 16:54:51 -08:00
package.php Add doxygen doc scripts, and fix package.php 2009-07-08 22:11:15 -04:00
phpdoc.ini Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
README.md [ci skip] Add a Travis build badge. 2016-10-27 02:02:29 -07:00
release1-update.php Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
release2-tag.php Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
test-settings.sample.php Update to work with Git version of SimpleTest. 2016-03-24 00:08:03 -07:00
test-settings.travis.php Travis support. 2016-10-27 02:00:47 -07:00
TODO Release 4.8.0 2016-07-16 05:58:58 -07:00
VERSION Release 4.8.0 2016-07-16 05:58:58 -07:00
WHATSNEW Release 4.8.0 2016-07-16 05:58:58 -07:00
WYSIWYG Add vim modelines to all files. 2008-12-06 04:24:59 -05:00

HTML Purifier Build Status

HTML Purifier is an HTML filtering solution that uses a unique combination of robust whitelists and agressive parsing to ensure that not only are XSS attacks thwarted, but the resulting HTML is standards compliant.

HTML Purifier is oriented towards richly formatted documents from untrusted sources that require CSS and a full tag-set. This library can be configured to accept a more restrictive set of tags, but it won't be as efficient as more bare-bones parsers. It will, however, do the job right, which may be more important.

Places to go:

  • See INSTALL for a quick installation guide
  • See docs/ for developer-oriented documentation, code examples and an in-depth installation guide.
  • See WYSIWYG for information on editors like TinyMCE and FCKeditor

HTML Purifier can be found on the web at: http://htmlpurifier.org/

Installation

Package available on Composer.

If you're using Composer to manage dependencies, you can use

$ composer require "ezyang/htmlpurifier": "dev-master"