0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-23 00:41:52 +00:00
Standards compliant HTML filter written in PHP. http://htmlpurifier.org
Go to file
Edward Z. Yang 77d9e05a07 [1.5.0] Massive refactoring for Blockquote and Chameleon to be more extensible and accommodating of XHTMLDefinition.
- Fixed buggy chameleon-support for ins and del
. Removed context variable ParentType, replaced with IsInline, which
  is false when you're not inline and an integer of the parent that
  caused you to become inline when you are (so possibly zero)
. Removed ElementDef->type in favor of ElementDef->descendants_are_inline
  and HTMLDefinition->content_sets
. StrictBlockquote now reports what elements its supposed to allow,
  rather than what it does allow
. Removed HTMLDefinition->info_flow_elements in favor of
  HTMLDefinition->content_sets['Flow']
. Removed redundant "exclusionary" definitions from DTD roster
. StrictBlockquote now requires a construction parameter as if it
  were an Required ChildDef, this is the "real" set of allowed elements

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@710 48356398-32a2-884e-a903-53898d9a118a
2007-02-04 03:53:57 +00:00
art Add 1000 passes image. 2007-01-21 16:45:01 +00:00
benchmarks [1.1.1] Grey outputs that are negative. 2006-09-24 19:48:29 +00:00
configdoc Fix typo in comment. 2007-01-30 00:34:23 +00:00
docs Update docs. Delineate XHTML 1.1 revamping of HTMLDefinition. 2007-02-03 17:03:04 +00:00
library [1.5.0] Massive refactoring for Blockquote and Chameleon to be more extensible and accommodating of XHTMLDefinition. 2007-02-04 03:53:57 +00:00
maintenance [1.2.0] 2006-09-30 20:18:08 +00:00
plugins Added MODx plugin. 2006-10-02 16:56:47 +00:00
smoketests [1.4.0] YouTube preservation code added to the core by adding HTMLPurifier_Filter hierarchy. 2007-01-21 15:09:07 +00:00
tests [1.5.0] Massive refactoring for Blockquote and Chameleon to be more extensible and accommodating of XHTMLDefinition. 2007-02-04 03:53:57 +00:00
CREDITS [1.2.0] Update documentation paths. 2006-11-19 04:37:26 +00:00
Doxyfile Release 1.4.1. 2007-01-21 21:47:18 +00:00
INSTALL Add TODO item to INSTALL for new array syntax for configuration. 2006-12-26 17:40:05 +00:00
LICENSE Rename so that there's no txt extension, adhering with good practices. 2006-08-16 03:57:02 +00:00
NEWS [1.5.0] Massive refactoring for Blockquote and Chameleon to be more extensible and accommodating of XHTMLDefinition. 2007-02-04 03:53:57 +00:00
phpdoc.ini [1.1.2] Mass svn:eol-style=native. data.txt had line ending info taken away, since it is unbiased 2006-09-25 00:05:33 +00:00
README [1.3.3] 2007-01-11 22:28:44 +00:00
test-settings.sample.php [1.1.1] 2006-09-24 21:58:14 +00:00
TODO Further update TODO. 2007-01-21 16:17:34 +00:00
WYSIWYG [1.3.3] 2007-01-11 22:28:44 +00:00

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://hp.jpsband.org/