mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-22 16:31:53 +00:00
Standards compliant HTML filter written in PHP.
http://htmlpurifier.org
0ea04db559
- Migrated most unit tests over to XHTML 1.0 Strict to preserve transformation behavior - Created %Core.ColorKeywords to be shared between CSS_Color and HTML_Color - Added AttrDef_HTML_Color as AttrType Color - HTMLPurifier_Config::create(HTMLPurifier_Config $config) now clones the object - Attribute minimization for HTML implemented in Generator - Move div@align fix from proprietary to regular set - Color keywords now map to full six digit hexadecimal codes - Harness will now tack on per-use-case configuration git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1084 48356398-32a2-884e-a903-53898d9a118a |
||
---|---|---|
art | ||
benchmarks | ||
configdoc | ||
docs | ||
library | ||
maintenance | ||
plugins | ||
smoketests | ||
tests | ||
CREDITS | ||
Doxyfile | ||
INSTALL | ||
INSTALL.fr.utf8 | ||
LICENSE | ||
NEWS | ||
package.php | ||
phpdoc.ini | ||
README | ||
release1-update.php | ||
release2-strict.php | ||
release3-tag.php | ||
svn.php | ||
test-settings.sample.php | ||
TODO | ||
VERSION | ||
WHATSNEW | ||
WYSIWYG |
README All about HTML Purifier 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/