[3.1.1] Land vs's HTMLPurifier_Generator patch, and a number of other bugfixes for...
commit14d934c7ca8495bad71192e8a8feb9a8e7dd9046
authorEdward Z. Yang <edwardzyang@thewritingpot.com>
Mon, 26 May 2008 04:05:48 +0000 (26 04:05 +0000)
committerEdward Z. Yang <edwardzyang@thewritingpot.com>
Mon, 26 May 2008 04:05:48 +0000 (26 04:05 +0000)
tree847db2b1633f770b87eb2c050cab98c66ad2694b
parentbb16d8eae571dd4e30e3a62cce03d436d46cefaf
[3.1.1] Land vs's HTMLPurifier_Generator patch, and a number of other bugfixes for that change
- Convert a number of calls to use new constructor signature for Generator
- Make generator require configuration; this exposes a number of latent bugs
- Removed generator hack
- Convert Printers to use new optimized ConfigSchema format
- Hack with Printer configuration; pass an array(generator config, render config) to distinguish between output and target.
- HTML/CSS Printers need to be primed, otherwise fatal errors
- Convert a few test-cases to use member properties

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1770 48356398-32a2-884e-a903-53898d9a118a
12 files changed:
NEWS
configdoc/usage.xml
library/HTMLPurifier/ChildDef/Required.php
library/HTMLPurifier/Generator.php
library/HTMLPurifier/Printer.php
library/HTMLPurifier/Printer/ConfigForm.php
library/HTMLPurifier/Strategy/MakeWellFormed.php
library/HTMLPurifier/Strategy/RemoveForeignElements.php
smoketests/configForm.php
smoketests/printDefinition.php
tests/HTMLPurifier/ErrorCollectorTest.php
tests/HTMLPurifier/LanguageTest.php