Fix embedding flash on non-IE browsers and allow more wmode.
[htmlpurifier.git] / NEWS
blob04a7fa9e7a83ecdec4d398a130742e2412be415c
1 NEWS ( CHANGELOG and HISTORY )                                     HTMLPurifier
2 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
4 = KEY ====================
5     # Breaks back-compat
6     ! Feature
7     - Bugfix
8       + Sub-comment
9     . Internal change
10 ==========================
12 4.3.0, unknown release date
13 # Fixed broken caching of customized raw definitions, but requires an
14   API change.  The old API still works but will emit a warning,
15   see http://htmlpurifier.org/docs/enduser-customize.html#optimized
16   for how to upgrade your code.
17 ! Added %HTML.Nofollow to add rel="nofollow" to external links.
18 ! More types of SPL autoloaders allowed on later versions of PHP.
19 ! Implementations for position, top, left, right, bottom, z-index
20   when %CSS.Trusted is on.
21 ! Add %Cache.SerializerPermissions option for custom serializer
22   directory/file permissions
23 ! Fix longstanding bug in Flash support for non-IE browsers, and
24   allow more wmode attributes.
25 - Switch to an iterative traversal of the DOM, which prevents us
26   from running out of stack space for deeply nested documents.
27   Thanks Maxim Krizhanovsky for contributing a patch.
28 - Make removal of conditional IE comments ungreedy; thanks Bernd
29   for reporting.
30 - Escape CDATA before removing Internet Explorer comments.
31 - Fix removal of id attributes under certain conditions by ensuring
32   armor attributes are preserved when recreating tags.
33 - Check if schema.ser was corrupted.
34 - Check if zend.ze1_compatibility_mode is on, and error out if it is.
35   This safety check is only done for HTMLPurifier.auto.php; if you
36   are using standalone or the specialized includes files, you're
37   expected to know what you're doing.
38 - Stop repeatedly writing the cache file after I'm done customizing a
39   raw definition.  Reported by ajh.
40 - Switch to using require_once in the Bootstrap to work around bad
41   interaction with Zend Debugger and APC.  Reported by Antonio Parraga.
43 4.2.0, released 2010-09-15
44 ! Added %Core.RemoveProcessingInstructions, which lets you remove
45   <? ... ?> statements.
46 ! Added %URI.DisableResources functionality; the directive originally
47   did nothing.  Thanks David Rothstein for reporting.
48 ! Add documentation about configuration directive types.
49 ! Add %CSS.ForbiddenProperties configuration directive.
50 ! Add %HTML.FlashAllowFullScreen to permit embedded Flash objects
51   to utilize full-screen mode.
52 ! Add optional support for the <code>file</code> URI scheme, enable
53   by explicitly setting %URI.AllowedSchemes.
54 ! Add %Core.NormalizeNewlines options to allow turning off newline
55   normalization.
56 - Fix improper handling of Internet Explorer conditional comments
57   by parser.  Thanks zmonteca for reporting.
58 - Fix missing attributes bug when running on Mac Snow Leopard and APC.
59   Thanks sidepodcast for the fix.
60 - Warn if an element is allowed, but an attribute it requires is
61   not allowed.
63 4.1.1, released 2010-05-31
64 - Fix undefined index warnings in maintenance scripts.
65 - Fix bug in DirectLex for parsing elements with a single attribute
66   with entities.
67 - Rewrite CSS output logic for font-family and url().  Thanks Mario
68   Heiderich <mario.heiderich@googlemail.com> for reporting and Takeshi
69   Terada <t-terada@violet.plala.or.jp> for suggesting the fix.
70 - Emit an error for CollectErrors if a body is extracted
71 - Fix bug where in background-position for center keyword handling.
72 - Fix infinite loop when a wrapper element is inserted in a context
73   where it's not allowed.  Thanks Lars <lars@renoz.dk> for reporting.
74 - Remove +x bit and shebang from index.php; only supported mode is to
75   explicitly call it with php.
76 - Make test script less chatty when log_errors is on.
78 4.1.0, released 2010-04-26
79 ! Support proprietary height attribute on table element
80 ! Support YouTube slideshows that contain /cp/ in their URL.
81 ! Support for data: URI scheme; not enabled by default, add it using
82   %URI.AllowedSchemes
83 ! Support flashvars when using %HTML.SafeObject and %HTML.SafeEmbed.
84 ! Support for Internet Explorer compatibility with %HTML.SafeObject
85   using %Output.FlashCompat.
86 ! Handle <ol><ol> properly, by inserting the necessary <li> tag.
87 - Always quote the insides of url(...) in CSS.
89 4.0.0, released 2009-07-07
90 # APIs for ConfigSchema subsystem have substantially changed. See
91   docs/dev-config-bcbreaks.txt for details; in essence, anything that
92   had both namespace and directive now have a single unified key.
93 # Some configuration directives were renamed, specifically:
94     %AutoFormatParam.PurifierLinkifyDocURL -> %AutoFormat.PurifierLinkify.DocURL
95     %FilterParam.ExtractStyleBlocksEscaping -> %Filter.ExtractStyleBlocks.Escaping
96     %FilterParam.ExtractStyleBlocksScope -> %Filter.ExtractStyleBlocks.Scope
97     %FilterParam.ExtractStyleBlocksTidyImpl -> %Filter.ExtractStyleBlocks.TidyImpl
98   As usual, the old directive names will still work, but will throw E_NOTICE
99   errors.
100 # The allowed values for class have been relaxed to allow all of CDATA for
101   doctypes that are not XHTML 1.1 or XHTML 2.0.  For old behavior, set
102   %Attr.ClassUseCDATA to false.
103 # Instead of appending the content model to an old content model, a blank
104   element will replace the old content model.  You can use #SUPER to get
105   the old content model.
106 ! More robust support for name="" and id=""
107 ! HTMLPurifier_Config::inherit($config) allows you to inherit one
108   configuration, and have changes to that configuration be propagated
109   to all of its children.
110 ! Implement %HTML.Attr.Name.UseCDATA, which relaxes validation rules on
111   the name attribute when set. Use with care. Thanks Ian Cook for
112   sponsoring.
113 ! Implement %AutoFormat.RemoveEmpty.RemoveNbsp, which removes empty
114   tags that contain non-breaking spaces as well other whitespace. You
115   can also modify which tags should have &nbsp; maintained with
116   %AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions.
117 ! Implement %Attr.AllowedClasses, which allows administrators to restrict
118   classes users can use to a specified finite set of classes, and
119   %Attr.ForbiddenClasses, which is the logical inverse.
120 ! You can now maintain your own configuration schema directories by
121   creating a config-schema.php file or passing an extra argument. Check
122   docs/dev-config-schema.html for more details.
123 ! Added HTMLPurifier_Config->serialize() method, which lets you save away
124   your configuration in a compact serial file, which you can unserialize
125   and use directly without having to go through the overhead of setup.
126 - Fix bug where URIDefinition would not get cleared if it's directives got
127   changed.
128 - Fix fatal error in HTMLPurifier_Encoder on certain platforms (probably NetBSD 5.0)
129 - Fix bug in Linkify autoformatter involving <a><span>http://foo</span></a>
130 - Make %URI.Munge not apply to links that have the same host as your host.
131 - Prevent stray </body> tag from truncating output, if a second </body>
132   is present.
133 . Created script maintenance/rename-config.php for renaming a configuration
134   directive while maintaining its alias.  This script does not change source code.
135 . Implement namespace locking for definition construction, to prevent
136   bugs where a directive is used for definition construction but is not
137   used to construct the cache hash.
139 3.3.0, released 2009-02-16
140 ! Implement CSS property 'overflow' when %CSS.AllowTricky is true.
141 ! Implement generic property list classess
142 - Fix bug with testEncodingSupportsASCII() algorithm when iconv() implementation
143   does not do the "right thing" with characters not supported in the output
144   set.
145 - Spellcheck UTF-8: The Secret To Character Encoding
146 - Fix improper removal of the contents of elements with only whitespace. Thanks
147   Eric Wald for reporting.
148 - Fix broken test suite in versions of PHP without spl_autoload_register()
149 - Fix degenerate case with YouTube filter involving double hyphens.
150   Thanks Pierre Attar for reporting.
151 - Fix YouTube rendering problem on certain versions of Firefox.
152 - Fix CSSDefinition Printer problems with decorators
153 - Add text parameter to unit tests, forces text output
154 . Add verbose mode to command line test runner, use (--verbose)
155 . Turn on unit tests for UnitConverter
156 . Fix missing version number in configuration %Attr.DefaultImageAlt (added 3.2.0)
157 . Fix newline errors that caused spurious failures when CRLF HTML Purifier was
158   tested on Linux.
159 . Removed trailing whitespace from all text files, see
160   remote-trailing-whitespace.php maintenance script.
161 . Convert configuration to use property list backend.
163 3.2.0, released 2008-10-31
164 # Using %Core.CollectErrors forces line number/column tracking on, whereas
165   previously you could theoretically turn it off.
166 # HTMLPurifier_Injector->notifyEnd() is formally deprecated. Please
167   use handleEnd() instead.
168 ! %Output.AttrSort for when you need your attributes in alphabetical order to
169   deal with a bug in FCKEditor. Requested by frank farmer.
170 ! Enable HTML comments when %HTML.Trusted is on. Requested by Waldo Jaquith.
171 ! Proper support for name attribute. It is now allowed and equivalent to the id
172   attribute in a and img tags, and is only converted to id when %HTML.TidyLevel
173   is heavy (for all doctypes).
174 ! %AutoFormat.RemoveEmpty to remove some empty tags from documents. Please don't
175   use on hand-written HTML.
176 ! Add error-cases for unsupported elements in MakeWellFormed. This enables
177   the strategy to be used, standalone, on untrusted input.
178 ! %Core.AggressivelyFixLt is on by default. This causes more sensible
179   processing of left angled brackets in smileys and other whatnot.
180 ! Test scripts now have a 'type' parameter, which lets you say 'htmlpurifier',
181   'phpt', 'vtest', etc. in order to only execute those tests. This supercedes
182   the --only-phpt parameter, although for backwards-compatibility the flag
183   will still work.
184 ! AutoParagraph auto-formatter will now preserve double-newlines upon output.
185   Users who are not performing inbound filtering, this may seem a little
186   useless, but as a bonus, the test suite and handling of edge cases is also
187   improved.
188 ! Experimental implementation of forms for %HTML.Trusted
189 ! Track column numbers when maintain line numbers is on
190 ! Proprietary 'background' attribute on table-related elements converted into
191   corresponding CSS.  Thanks Fusemail for sponsoring this feature!
192 ! Add forward(), forwardUntilEndToken(), backward() and current() to Injector
193   supertype.
194 ! HTMLPurifier_Injector->handleEnd() permits modification to end tokens. The
195   time of operation varies slightly from notifyEnd() as *all* end tokens are
196   processed by the injector before they are subject to the well-formedness rules.
197 ! %Attr.DefaultImageAlt allows overriding default behavior of setting alt to
198   basename of image when not present.
199 ! %AutoFormat.DisplayLinkURI neuters <a> tags into plain text URLs.
200 - Fix two bugs in %URI.MakeAbsolute; one involving empty paths in base URLs,
201   the other involving an undefined $is_folder error.
202 - Throw error when %Core.Encoding is set to a spurious value. Previously,
203   this errored silently and returned false.
204 - Redirected stderr to stdout for flush error output.
205 - %URI.DisableExternal will now use the host in %URI.Base if %URI.Host is not
206   available.
207 - Do not re-munge URL if the output URL has the same host as the input URL.
208   Requested by Chris.
209 - Fix error in documentation regarding %Filter.ExtractStyleBlocks
210 - Prevent <![CDATA[<body></body>]]> from triggering %Core.ConvertDocumentToFragment
211 - Fix bug with inline elements in blockquotes conflicting with strict doctype
212 - Detect if HTML support is disabled for DOM by checking for loadHTML() method.
213 - Fix bug where dots and double-dots in absolute URLs without hostname were
214   not collapsed by URIFilter_MakeAbsolute.
215 - Fix bug with anonymous modules operating on SafeEmbed or SafeObject elements
216   by reordering their addition.
217 - Will now throw exception on many error conditions during lexer creation; also
218   throw an exception when MaintainLineNumbers is true, but a non-tracksLineNumbers
219   is being used.
220 - Detect if domxml extension is loaded, and use DirectLEx accordingly.
221 - Improve handling of big numbers with floating point arithmetic in UnitConverter.
222   Reported by David Morton.
223 . Strategy_MakeWellFormed now operates in-place, saving memory and allowing
224   for more interesting filter-backtracking
225 . New HTMLPurifier_Injector->rewind() functionality, allows injectors to rewind
226   index to reprocess tokens.
227 . StringHashParser now allows for multiline sections with "empty" content;
228   previously the section would remain undefined.
229 . Added --quick option to multitest.php, which tests only the most recent
230   release for each series.
231 . Added --distro option to multitest.php, which accepts either 'normal' or
232   'standalone'. This supercedes --exclude-normal and --exclude-standalone
234 3.1.1, released 2008-06-19
235 # %URI.Munge now, by default, does not munge resources (for example, <img src="">)
236   In order to enable this again, please set %URI.MungeResources to true.
237 ! More robust imagecrash protection with height/width CSS with %CSS.MaxImgLength,
238   and height/width HTML with %HTML.MaxImgLength.
239 ! %URI.MungeSecretKey for secure URI munging. Thanks Chris
240   for sponsoring this feature. Check out the corresponding documentation
241   for details. (Att Nightly testers: The API for this feature changed before
242   the general release. Namely, rename your directives %URI.SecureMungeSecretKey =>
243   %URI.MungeSecretKey and and %URI.SecureMunge => %URI.Munge)
244 ! Implemented post URI filtering. Set member variable $post to true to set
245   a URIFilter as such.
246 ! Allow modules to define injectors via $info_injector. Injectors are
247   automatically disabled if injector's needed elements are not found.
248 ! Support for "safe" objects added, use %HTML.SafeObject and %HTML.SafeEmbed.
249   Thanks Chris for sponsoring. If you've been using ad hoc code from the
250   forums, PLEASE use this instead.
251 ! Added substitutions for %e, %n, %a and %p in %URI.Munge (in order,
252   embedded, tag name, attribute name, CSS property name). See %URI.Munge
253   for more details. Requested by Jochem Blok.
254 - Disable percent height/width attributes for img.
255 - AttrValidator operations are now atomic; updates to attributes are not
256   manifest in token until end of operations. This prevents naughty internal
257   code from directly modifying CurrentToken when they're not supposed to.
258   This semantics change was requested by frank farmer.
259 - Percent encoding checks enabled for URI query and fragment
260 - Fix stray backslashes in font-family; CSS Unicode character escapes are
261   now properly resolved (although *only* in font-family). Thanks Takeshi Terada
262   for reporting.
263 - Improve parseCDATA algorithm to take into account newline normalization
264 - Account for browser confusion between Yen character and backslash in
265   Shift_JIS encoding. This fix generalizes to any other encoding which is not
266   a strict superset of printable ASCII. Thanks Takeshi Terada for reporting.
267 - Fix missing configuration parameter in Generator calls. Thanks vs for the
268   partial patch.
269 - Improved adherence to Unicode by checking for non-character codepoints.
270   Thanks Geoffrey Sneddon for reporting. This may result in degraded
271   performance for extremely large inputs.
272 - Allow CSS property-value pair ''text-decoration: none''. Thanks Jochem Blok
273   for reporting.
274 . Added HTMLPurifier_UnitConverter and HTMLPurifier_Length for convenient
275   handling of CSS-style lengths. HTMLPurifier_AttrDef_CSS_Length now uses
276   this class.
277 . API of HTMLPurifier_AttrDef_CSS_Length changed from __construct($disable_negative)
278   to __construct($min, $max). __construct(true) is equivalent to
279   __construct('0').
280 . Added HTMLPurifier_AttrDef_Switch class
281 . Rename HTMLPurifier_HTMLModule_Tidy->construct() to setup() and bubble method
282   up inheritance hierarchy to HTMLPurifier_HTMLModule. All HTMLModules
283   get this called with the configuration object.  All modules now
284   use this rather than __construct(), although legacy code using constructors
285   will still work--the new format, however, lets modules access the
286   configuration object for HTML namespace dependant tweaks.
287 . AttrDef_HTML_Pixels now takes a single construction parameter, pixels.
288 . ConfigSchema data-structure heavily optimized; on average it uses a third
289   the memory it did previously. The interface has changed accordingly,
290   consult changes to HTMLPurifier_Config for details.
291 . Variable parsing types now are magic integers instead of strings
292 . Added benchmark for ConfigSchema
293 . HTMLPurifier_Generator requires $config and $context parameters. If you
294   don't know what they should be, use HTMLPurifier_Config::createDefault()
295   and new HTMLPurifier_Context().
296 . Printers now properly distinguish between output configuration, and
297   target configuration. This is not applicable to scripts using
298   the Printers for HTML Purifier related tasks.
299 . HTML/CSS Printers must be primed with prepareGenerator($gen_config), otherwise
300   fatal errors will ensue.
301 . URIFilter->prepare can return false in order to abort loading of the filter
302 . Factory for AttrDef_URI implemented, URI#embedded to indicate URI that embeds
303   an external resource.
304 . %URI.Munge functionality factored out into a post-filter class.
305 . Added CurrentCSSProperty context variable during CSS validation
307 3.1.0, released 2008-05-18
308 # Unnecessary references to objects (vestiges of PHP4) removed from method
309   signatures.  The following methods do not need references when assigning from
310   them and will result in E_STRICT errors if you try:
311     + HTMLPurifier_Config->get*Definition() [* = HTML, CSS]
312     + HTMLPurifier_ConfigSchema::instance()
313     + HTMLPurifier_DefinitionCacheFactory::instance()
314     + HTMLPurifier_DefinitionCacheFactory->create()
315     + HTMLPurifier_DoctypeRegistry->register()
316     + HTMLPurifier_DoctypeRegistry->get()
317     + HTMLPurifier_HTMLModule->addElement()
318     + HTMLPurifier_HTMLModule->addBlankElement()
319     + HTMLPurifier_LanguageFactory::instance()
320 # Printer_ConfigForm's get*() functions were static-ified
321 # %HTML.ForbiddenAttributes requires attribute declarations to be in the
322   form of tag@attr, NOT tag.attr (which will throw an error and won't do
323   anything). This is for forwards compatibility with XML; you'd do best
324   to migrate an %HTML.AllowedAttributes directives to this syntax too.
325 ! Allow index to be false for config from form creation
326 ! Added HTMLPurifier::VERSION constant
327 ! Commas, not dashes, used for serializer IDs. This change is forwards-compatible
328   and allows for version numbers like "3.1.0-dev".
329 ! %HTML.Allowed deals gracefully with whitespace anywhere, anytime!
330 ! HTML Purifier's URI handling is a lot more robust, with much stricter
331   validation checks and better percent encoding handling. Thanks Gareth Heyes
332   for indicating security vulnerabilities from lax percent encoding.
333 ! Bootstrap autoloader deals more robustly with classes that don't exist,
334   preventing class_exists($class, true) from barfing.
335 - InterchangeBuilder now alphabetizes its lists
336 - Validation error in configdoc output fixed
337 - Iconv and other encoding errors muted even with custom error handlers that
338   do not honor error_reporting
339 - Add protection against imagecrash attack with CSS height/width
340 - HTMLPurifier::instance() created for consistency, is equivalent to getInstance()
341 - Fixed and revamped broken ConfigForm smoketest
342 - Bug with bool/null fields in Printer_ConfigForm fixed
343 - Bug with global forbidden attributes fixed
344 - Improved error messages for allowed and forbidden HTML elements and attributes
345 - Missing (or null) in configdoc documentation restored
346 - If DOM throws and exception during parsing with PH5P (occurs in newer versions
347   of DOM), HTML Purifier punts to DirectLex
348 - Fatal error with unserialization of ScriptRequired
349 - Created directories are now chmod'ed properly
350 - Fixed bug with fallback languages in LanguageFactory
351 - Standalone testing setup properly with autoload
352 . Out-of-date documentation revised
353 . UTF-8 encoding check optimization as suggested by Diego
354 . HTMLPurifier_Error removed in favor of exceptions
355 . More copy() function removed; should use clone instead
356 . More extensive unit tests for HTMLDefinition
357 . assertPurification moved to central harness
358 . HTMLPurifier_Generator accepts $config and $context parameters during
359   instantiation, not runtime
360 . Double-quotes outside of attribute values are now unescaped
362 3.1.0rc1, released 2008-04-22
363 # Autoload support added. Internal require_once's removed in favor of an
364   explicit require list or autoloading. To use HTML Purifier,
365   you must now either use HTMLPurifier.auto.php
366   or HTMLPurifier.includes.php; setting the include path and including
367   HTMLPurifier.php is insufficient--in such cases include HTMLPurifier.autoload.php
368   as well to register our autoload handler (or modify your autoload function
369   to check HTMLPurifier_Bootstrap::getPath($class)). You can also use
370   HTMLPurifier.safe-includes.php for a less performance friendly but more
371   user-friendly library load.
372 # HTMLPurifier_ConfigSchema static functions are officially deprecated. Schema
373   information is stored in the ConfigSchema directory, and the
374   maintenance/generate-schema-cache.php generates the schema.ser file, which
375   is now instantiated. Support for userland schema changes coming soon!
376 # HTMLPurifier_Config will now throw E_USER_NOTICE when you use a directive
377   alias; to get rid of these errors just modify your configuration to use
378   the new directive name.
379 # HTMLPurifier->addFilter is deprecated; built-in filters can now be
380   enabled using %Filter.$filter_name or by setting your own filters using
381   %Filter.Custom
382 # Directive-level safety properties superceded in favor of module-level
383   safety. Internal method HTMLModule->addElement() has changed, although
384   the externally visible HTMLDefinition->addElement has *not* changed.
385 ! Extra utility classes for testing and non-library operations can
386   be found in extras/. Specifically, these are FSTools and ConfigDoc.
387   You may find a use for these in your own project, but right now they
388   are highly experimental and volatile.
389 ! Integration with PHPT allows for automated smoketests
390 ! Limited support for proprietary HTML elements, namely <marquee>, sponsored
391   by Chris. You can enable them with %HTML.Proprietary if your client
392   demands them.
393 ! Support for !important CSS cascade modifier. By default, this will be stripped
394   from CSS, but you can enable it using %CSS.AllowImportant
395 ! Support for display and visibility CSS properties added, set %CSS.AllowTricky
396   to true to use them.
397 ! HTML Purifier now has its own Exception hierarchy under HTMLPurifier_Exception.
398   Developer error (not enduser error) can cause these to be triggered.
399 ! Experimental kses() wrapper introduced with HTMLPurifier.kses.php
400 ! Finally %CSS.AllowedProperties for tweaking allowed CSS properties without
401   mucking around with HTMLPurifier_CSSDefinition
402 ! ConfigDoc output has been enhanced with version and deprecation info.
403 ! %HTML.ForbiddenAttributes and %HTML.ForbiddenElements implemented.
404 - Autoclose now operates iteratively, i.e. <span><span><div> now has
405   both span tags closed.
406 - Various HTMLPurifier_Config convenience functions now accept another parameter
407   $schema which defines what HTMLPurifier_ConfigSchema to use besides the
408   global default.
409 - Fix bug with trusted script handling in libxml versions later than 2.6.28.
410 - Fix bug in ExtractStyleBlocks with comments in style tags
411 - Fix bug in comment parsing for DirectLex
412 - Flush output now displayed when in command line mode for unit tester
413 - Fix bug with rgb(0, 1, 2) color syntax with spaces inside shorthand syntax
414 - HTMLPurifier_HTMLDefinition->addAttribute can now be called multiple times
415   on the same element without emitting errors.
416 - Fixed fatal error in PH5P lexer with invalid tag names
417 . Plugins now get their own changelogs according to project conventions.
418 . Convert tokens to use instanceof, reducing memory footprint and
419   improving comparison speed.
420 . Dry runs now supported in SimpleTest; testing facilities improved
421 . Bootstrap class added for handling autoloading functionality
422 . Implemented recursive glob at FSTools->globr
423 . ConfigSchema now has instance methods for all corresponding define*
424   static methods.
425 . A couple of new historical maintenance scripts were added.
426 . HTMLPurifier/HTMLModule/Tidy/XHTMLAndHTML4.php split into two files
427 . tests/index.php can now be run from any directory.
428 . HTMLPurifier_Token subclasses split into seperate files
429 . HTMLPURIFIER_PREFIX now is defined in Bootstrap.php, NOT HTMLPurifier.php
430 . HTMLPURIFIER_PREFIX can now be defined outside of HTML Purifier
431 . New --php=php flag added, allows PHP executable to be specified (command
432   line only!)
433 . htmlpurifier_add_test() preferred method to translate test files in to
434   classes, because it handles PHPT files too.
435 . Debugger class is deprecated and will be removed soon.
436 . Command line argument parsing for testing scripts revamped, now --opt value
437   format is supported.
438 . Smoketests now cleanup after magic quotes
439 . Generator now can output comments (however, comments are still stripped
440   from HTML Purifier output)
441 . HTMLPurifier_ConfigSchema->validate() deprecated in favor of
442   HTMLPurifier_VarParser->parse()
443 . Integers auto-cast into float type by VarParser.
444 . HTMLPURIFIER_STRICT removed; no validation is performed on runtime, only
445   during cache generation
446 . Reordered script calls in maintenance/flush.php
447 . Command line scripts now honor exit codes
448 . When --flush fails in unit testers, abort tests and print message
449 . Improved documentation in docs/dev-flush.html about the maintenance scripts
450 . copy() methods removed in favor of clone keyword
452 3.0.0, released 2008-01-06
453 # HTML Purifier is PHP 5 only! The 2.1.x branch will be maintained
454   until PHP 4 is completely deprecated, but no new features will be added
455   to it.
456   + Visibility declarations added
457   + Constructor methods renamed to __construct()
458   + PHP4 reference cruft removed (in progress)
459 ! CSS properties are now case-insensitive
460 ! DefinitionCacheFactory now can register new implementations
461 ! New HTMLPurifier_Filter_ExtractStyleBlocks for extracting <style> from
462   documents and cleaning their contents up. Requires the CSSTidy library
463   <http://csstidy.sourceforge.net/>. You can access the blocks with the
464   'StyleBlocks' Context variable ($purifier->context->get('StyleBlocks')).
465   The output CSS can also be "scoped" for a specific element, use:
466   %Filter.ExtractStyleBlocksScope
467 ! Experimental support for some proprietary CSS attributes allowed:
468   opacity (and all of the browser-specific equivalents) and scrollbar colors.
469   Enable by setting %CSS.Proprietary to true.
470 - Colors missing # but in hex form will be corrected
471 - CSS Number algorithm improved
472 - Unit testing and multi-testing now on steroids: command lines,
473   XML output, and other goodies now added.
474 . Unit tests for Injector improved
475 . New classes:
476   + HTMLPurifier_AttrDef_CSS_AlphaValue
477   + HTMLPurifier_AttrDef_CSS_Filter
478 . Multitest now has a file docblock
480 2.1.3, released 2007-11-05
481 ! tests/multitest.php allows you to test multiple versions by running
482   tests/index.php through multiple interpreters using `phpv` shell
483   script (you must provide this script!)
484 - Fixed poor include ordering for Email URI AttrDefs, causes fatal errors
485   on some systems.
486 - Injector algorithm further refined: off-by-one error regarding skip
487   counts for dormant injectors fixed
488 - Corrective blockquote definition now enabled for HTML 4.01 Strict
489 - Fatal error when <img> tag (or any other element with required attributes)
490   has 'id' attribute fixed, thanks NykO18 for reporting
491 - Fix warning emitted when a non-supported URI scheme is passed to the
492   MakeAbsolute URIFilter, thanks NykO18 (again)
493 - Further refine AutoParagraph injector. Behavior inside of elements
494   allowing paragraph tags clarified: only inline content delimeted by
495   double newlines (not block elements) are paragraphed.
496 - Buggy treatment of end tags of elements that have required attributes
497   fixed (does not manifest on default tag-set)
498 - Spurious internal content reorganization error suppressed
499 - HTMLDefinition->addElement now returns a reference to the created
500   element object, as implied by the documentation
501 - Phorum mod's HTML Purifier help message expanded (unreleased elsewhere)
502 - Fix a theoretical class of infinite loops from DirectLex reported
503   by Nate Abele
504 - Work around unnecessary DOMElement type-cast in PH5P that caused errors
505   in PHP 5.1
506 - Work around PHP 4 SimpleTest lack-of-error complaining for one-time-only
507   HTMLDefinition errors, this may indicate problems with error-collecting
508   facilities in PHP 5
509 - Make ErrorCollectorEMock work in both PHP 4 and PHP 5
510 - Make PH5P work with PHP 5.0 by removing unnecessary array parameter typedef
511 . %Core.AcceptFullDocuments renamed to %Core.ConvertDocumentToFragment
512   to better communicate its purpose
513 . Error unit tests can now specify the expectation of no errors. Future
514   iterations of the harness will be extremely strict about what errors
515   are allowed
516 . Extend Injector hooks to allow for more powerful injector routines
517 . HTMLDefinition->addBlankElement created, as according to the HTMLModule
518   method
519 . Doxygen configuration file updated, with minor improvements
520 . Test runner now checks for similarly named files in conf/ directory too.
521 . Minor cosmetic change to flush-definition-cache.php: trailing newline is
522   outputted
523 . Maintenance script for generating PH5P patch added, original PH5P source
524   file also added under version control
525 . Full unit test runner script title made more descriptive with PHP version
526 . Updated INSTALL file to state that 4.3.7 is the earliest version we
527   are actively testing
529 2.1.2, released 2007-09-03
530 ! Implemented Object module for trusted users
531 ! Implemented experimental HTML5 parsing mode using PH5P. To use, add
532   this to your code:
533         require_once 'HTMLPurifier/Lexer/PH5P.php';
534         $config->set('Core', 'LexerImpl', 'PH5P');
535   Note that this Lexer introduces some classes not in the HTMLPurifier
536   namespace.  Also, this is PHP5 only.
537 ! CSS property border-spacing implemented
538 - Fix non-visible parsing error in DirectLex with empty tags that have
539   slashes inside attribute values.
540 - Fix typo in CSS definition: border-collapse:seperate; was incorrectly
541   accepted as valid CSS. Usually non-visible, because this styling is the
542   default for tables in most browsers. Thanks Brett Zamir for pointing
543   this out.
544 - Fix validation errors in configuration form
545 - Hammer out a bunch of edge-case bugs in the standalone distribution
546 - Inclusion reflection removed from URISchemeRegistry; you must manually
547   include any new schema files you wish to use
548 - Numerous typo fixes in documentation thanks to Brett Zamir
549 . Unit test refactoring for one logical test per test function
550 . Config and context parameters in ComplexHarness deprecated: instead, edit
551   the $config and $context member variables
552 . HTML wrapper in DOMLex now takes DTD identifiers into account; doesn't
553   really make a difference, but is good for completeness sake
554 . merge-library.php script refactored for greater code reusability and
555   PHP4 compatibility
557 2.1.1, released 2007-08-04
558 - Fix show-stopper bug in %URI.MakeAbsolute functionality
559 - Fix PHP4 syntax error in standalone version
560 . Add prefix directory to include path for standalone, this prevents
561   other installations from clobbering the standalone's URI schemes
562 . Single test methods can be invoked by prefixing with __only
564 2.1.0, released 2007-08-02
565 # flush-htmldefinition-cache.php superseded in favor of a generic
566   flush-definition-cache.php script, you can clear a specific cache
567   by passing its name as a parameter to the script
568 ! Phorum mod implemented for HTML Purifier
569 ! With %Core.AggressivelyFixLt, <3 and similar emoticons no longer
570   trigger HTML removal in PHP5 (DOMLex). This directive is not necessary
571   for PHP4 (DirectLex).
572 ! Standalone file now available, which greatly reduces the amount of
573   includes (although there are still a few files that reside in the
574   standalone folder)
575 ! Relative URIs can now be transformed into their absolute equivalents
576   using %URI.Base and %URI.MakeAbsolute
577 ! Ruby implemented for XHTML 1.1
578 ! You can now define custom URI filtering behavior, see enduser-uri-filter.html
579   for more details
580 ! UTF-8 font names now supported in CSS
581 - AutoFormatters emit friendly error messages if tags or attributes they
582   need are not allowed
583 - ConfigForm's compactification of directive names is now configurable
584 - AutoParagraph autoformatter algorithm refined after field-testing
585 - XHTML 1.1 now applies XHTML 1.0 Strict cleanup routines, namely
586   blockquote wrapping
587 - Contents of <style> tags removed by default when tags are removed
588 . HTMLPurifier_Config->getSerial() implemented, this is extremely useful
589   for output cache invalidation
590 . ConfigForm printer now can retrieve CSS and JS files as strings, in
591   case HTML Purifier's directory is not publically accessible
592 . Introduce new text/itext configuration directive values: these represent
593   longer strings that would be more appropriately edited with a textarea
594 . Allow newlines to act as separators for lists, hashes, lookups and
595   %HTML.Allowed
596 . ConfigForm generates textareas instead of text inputs for lists, hashes,
597   lookups, text and itext fields
598 . Hidden element content removal genericized: %Core.HiddenElements can
599   be used to customize this behavior, by default <script> and <style> are
600   hidden
601 . Added HTMLPURIFIER_PREFIX constant, should be used instead of dirname(__FILE__)
602 . Custom ChildDef added to default include list
603 . URIScheme reflection improved: will not attempt to include file if class
604   already exists. May clobber autoload, so I need to keep an eye on it
605 . ConfigSchema heavily optimized, will only collect information and validate
606   definitions when HTMLPURIFIER_SCHEMA_STRICT is true.
607 . AttrDef_URI unit tests and implementation refactored
608 . benchmarks/ directory now protected from public view with .htaccess file;
609   run the tests via command line
610 . URI scheme is munged off if there is no authority and the scheme is the
611   default one
612 . All unit tests inherit from HTMLPurifier_Harness, not UnitTestCase
613 . Interface for URIScheme changed
614 . Generic URI object to hold components of URI added, most systems involved
615   in URI validation have been migrated to use it
616 . Custom filtering for URIs factored out to URIDefinition interface for
617   maximum extensibility
619 2.0.1, released 2007-06-27
620 ! Tag auto-closing now based on a ChildDef heuristic rather than a
621   manually set auto_close array; some behavior may change
622 ! Experimental AutoFormat functionality added: auto-paragraph and
623   linkify your HTML input by setting %AutoFormat.AutoParagraph and
624   %AutoFormat.Linkify to true
625 ! Newlines normalized internally, and then converted back to the
626   value of PHP_EOL. If this is not desired, set your newline format
627   using %Output.Newline.
628 ! Beta error collection, messages are implemented for the most generic
629   cases involving Lexing or Strategies
630 - Clean up special case code for <script> tags
631 - Reorder includes for DefinitionCache decorators, fixes a possible
632   missing class error
633 - Fixed bug where manually modified definitions were not saved via cache
634   (mostly harmless, except for the fact that it would be a little slower)
635 - Configuration objects with different serials do not clobber each
636   others when revision numbers are unequal
637 - Improve Serializer DefinitionCache directory permissions checks
638 - DefinitionCache no longer throws errors when it encounters old
639   serial files that do not conform to the current style
640 - Stray xmlns attributes removed from configuration documentation
641 - configForm.php smoketest no longer has XSS vulnerability due to
642   unescaped print_r output
643 - Printer adheres to configuration's directives on output format
644 - Fix improperly named form field in ConfigForm printer
645 . Rewire some test-cases to swallow errors rather than expect them
646 . HTMLDefinition printer updated with some of the new attributes
647 . DefinitionCache keys reordered to reflect precedence: version number,
648   hash, then revision number
649 . %Core.DefinitionCache renamed to %Cache.DefinitionImpl
650 . Interlinking in configuration documentation added using
651   Injector_PurifierLinkify
652 . Directives now keep track of aliases to themselves
653 . Error collector now requires a severity to be passed, use PHP's internal
654   error constants for this
655 . HTMLPurifier_Config::getAllowedDirectivesForForm implemented, allows
656   much easier selective embedding of configuration values
657 . Doctype objects now accept public and system DTD identifiers
658 . %HTML.Doctype is now constrained by specific values, to specify a custom
659   doctype use new %HTML.CustomDoctype
660 . ConfigForm truncates long directives to keep the form small, and does
661   not re-output namespaces
663 2.0.0, released 2007-06-20
664 # Completely refactored HTMLModuleManager, decentralizing safety
665   information
666 # Transform modules changed to Tidy modules, which offer more flexibility
667   and better modularization
668 # Configuration object now finalizes itself when a read operation is
669   performed on it, ensuring that its internal state stays consistent.
670   To revert this behavior, you can set the $autoFinalize member variable
671   off, but it's not recommended.
672 # New compact syntax for AttrDef objects that can be used to instantiate
673   new objects via make()
674 # Definitions (esp. HTMLDefinition) are now cached for a significant
675   performance boost. You can disable caching by setting %Core.DefinitionCache
676   to null. You CANNOT edit raw definitions without setting the corresponding
677   DefinitionID directive (%HTML.DefinitionID for HTMLDefinition).
678 # Contents between <script> tags are now completely removed if <script>
679   is not allowed
680 # Prototype-declarations for Lexer removed in favor of configuration
681   determination of Lexer implementations.
682 ! HTML Purifier now works in PHP 4.3.2.
683 ! Configuration form-editing API makes tweaking HTMLPurifier_Config a
684   breeze!
685 ! Configuration directives that accept hashes now allow new string
686   format: key1:value1,key2:value2
687 ! ConfigDoc now factored into OOP design
688 ! All deprecated elements now natively supported
689 ! Implement TinyMCE styled whitelist specification format in
690   %HTML.Allowed
691 ! Config object gives more friendly error messages when things go wrong
692 ! Advanced API implemented: easy functions for creating elements (addElement)
693   and attributes (addAttribute) on HTMLDefinition
694 ! Add native support for required attributes
695 - Deprecated and removed EnableRedundantUTF8Cleaning. It didn't even work!
696 - DOMLex will not emit errors when a custom error handler that does not
697   honor error_reporting is used
698 - StrictBlockquote child definition refrains from wrapping whitespace
699   in tags now.
700 - Bug resulting from tag transforms to non-allowed elements fixed
701 - ChildDef_Custom's regex generation has been improved, removing several
702   false positives
703 . Unit test for ElementDef created, ElementDef behavior modified to
704   be more flexible
705 . Added convenience functions for HTMLModule constructors
706 . AttrTypes now has accessor functions that should be used instead
707   of directly manipulating info
708 . TagTransform_Center deprecated in favor of generic TagTransform_Simple
709 . Add extra protection in AttrDef_URI against phantom Schemes
710 . Doctype object added to HTMLDefinition which describes certain aspects
711   of the operational document type
712 . Lexer is now pre-emptively included, with a conditional include for the
713   PHP5 only version.
714 . HTMLDefinition and CSSDefinition have a common parent class: Definition.
715 . DirectLex can now track line-numbers
716 . Preliminary error collector is in place, although no code actually reports
717   errors yet
718 . Factor out most of ValidateAttributes to new AttrValidator class
720 1.6.1, released 2007-05-05
721 ! Support for more deprecated attributes via transformations:
722   + hspace and vspace in img
723   + size and noshade in hr
724   + nowrap in td
725   + clear in br
726   + align in caption, table, img and hr
727   + type in ul, ol and li
728 ! DirectLex now preserves text in which a < bracket is followed by
729   a non-alphanumeric character. This means that certain emoticons
730   are now preserved.
731 ! %Core.RemoveInvalidImg is now operational, when set to false invalid
732   images will hang around with an empty src
733 ! target attribute in a tag supported, use %Attr.AllowedFrameTargets
734   to enable
735 ! CSS property white-space now allows nowrap (supported in all modern
736   browsers) but not others (which have spotty browser implementations)
737 ! XHTML 1.1 mode now sort-of works without any fatal errors, and
738   lang is now moved over to xml:lang.
739 ! Attribute transformation smoketest available at smoketests/attrTransform.php
740 ! Transformation of font's size attribute now handles super-large numbers
741 - Possibly fatal bug with __autoload() fixed in module manager
742 - Invert HTMLModuleManager->addModule() processing order to check
743   prefixes first and then the literal module
744 - Empty strings get converted to empty arrays instead of arrays with
745   an empty string in them.
746 - Merging in attribute lists now works.
747 . Demo script removed: it has been added to the website's repository
748 . Basic.php script modified to work out of the box
749 . Refactor AttrTransform classes to reduce duplication
750 . AttrTransform_TextAlign axed in favor of a more general
751   AttrTransform_EnumToCSS, refer to HTMLModule/TransformToStrict.php to
752   see how the new equivalent is implemented
753 . Unit tests now use exclusively assertIdentical
755 1.6.0, released 2007-04-01
756 ! Support for most common deprecated attributes via transformations:
757   + bgcolor in td, th, tr and table
758   + border in img
759   + name in a and img
760   + width in td, th and hr
761   + height in td, th
762 ! Support for CSS attribute 'height' added
763 ! Support for rel and rev attributes in a tags added, use %Attr.AllowedRel
764   and %Attr.AllowedRev to activate
765 - You can define ID blacklists using regular expressions via
766   %Attr.IDBlacklistRegexp
767 - Error messages are emitted when you attempt to "allow" elements or
768   attributes that HTML Purifier does not support
769 - Fix segfault in unit test. The problem is not very reproduceable and
770   I don't know what causes it, but a six line patch fixed it.
772 1.5.0, released 2007-03-23
773 ! Added a rudimentary I18N and L10N system modeled off MediaWiki. It
774   doesn't actually do anything yet, but keep your eyes peeled.
775 ! docs/enduser-utf8.html explains how to use UTF-8 and HTML Purifier
776 ! Newly structured HTMLDefinition modeled off of XHTML 1.1 modules.
777   I am loathe to release beta quality APIs, but this is exactly that;
778   don't use the internal interfaces if you're not willing to do migration
779   later on.
780 - Allow 'x' subtag in language codes
781 - Fixed buggy chameleon-support for ins and del
782 . Added support for IDREF attributes (i.e. for)
783 . Renamed HTMLPurifier_AttrDef_Class to HTMLPurifier_AttrDef_Nmtokens
784 . Removed context variable ParentType, replaced with IsInline, which
785   is false when you're not inline and an integer of the parent that
786   caused you to become inline when you are (so possibly zero)
787 . Removed ElementDef->type in favor of ElementDef->descendants_are_inline
788   and HTMLDefinition->content_sets
789 . StrictBlockquote now reports what elements its supposed to allow,
790   rather than what it does allow
791 . Removed HTMLDefinition->info_flow_elements in favor of
792   HTMLDefinition->content_sets['Flow']
793 . Removed redundant "exclusionary" definitions from DTD roster
794 . StrictBlockquote now requires a construction parameter as if it
795   were an Required ChildDef, this is the "real" set of allowed elements
796 . AttrDef partitioned into HTML, CSS and URI segments
797 . Modify Youtube filter regexp to be multiline
798 . Require both PHP5 and DOM extension in order to use DOMLex, fixes
799   some edge cases where a DOMDocument class exists in a PHP4 environment
800   due to DOM XML extension.
802 1.4.1, released 2007-01-21
803 ! docs/enduser-youtube.html updated according to new functionality
804 - YouTube IDs can have underscores and dashes
806 1.4.0, released 2007-01-21
807 ! Implemented list-style-image, URIs now allowed in list-style
808 ! Implemented background-image, background-repeat, background-attachment
809   and background-position CSS properties. Shorthand property background
810   supports all of these properties.
811 ! Configuration documentation looks nicer
812 ! Added %Core.EscapeNonASCIICharacters to workaround loss of Unicode
813   characters while %Core.Encoding is set to a non-UTF-8 encoding.
814 ! Support for configuration directive aliases added
815 ! Config object can now be instantiated from ini files
816 ! YouTube preservation code added to the core, with two lines of code
817   you can add it as a filter to your code. See smoketests/preserveYouTube.php
818   for sample code.
819 ! Moved SLOW to docs/enduser-slow.html and added code examples
820 - Replaced version check with functionality check for DOM (thanks Stephen
821   Khoo)
822 . Added smoketest 'all.php', which loads all other smoketests via frames
823 . Implemented AttrDef_CSSURI for url(http://google.com) style declarations
824 . Added convenient single test selector form on test runner
826 1.3.2, released 2006-12-25
827 ! HTMLPurifier object now accepts configuration arrays, no need to manually
828   instantiate a configuration object
829 ! Context object now accessible to outside
830 ! Added enduser-youtube.html, explains how to embed YouTube videos. See
831   also corresponding smoketest preserveYouTube.php.
832 ! Added purifyArray(), which takes a list of HTML and purifies it all
833 ! Added static member variable $version to HTML Purifier with PHP-compatible
834   version number string.
835 - Fixed fatal error thrown by upper-cased language attributes
836 - printDefinition.php: added labels, added better clarification
837 . HTMLPurifier_Config::create() added, takes mixed variable and converts into
838   a HTMLPurifier_Config object.
840 1.3.1, released 2006-12-06
841 ! Added HTMLPurifier.func.php stub for a convenient function to call the library
842 - Fixed bug in RemoveInvalidImg code that caused all images to be dropped
843   (thanks to .mario for reporting this)
844 . Standardized all attribute handling variables to attr, made it plural
846 1.3.0, released 2006-11-26
847 # Invalid images are now removed, rather than replaced with a dud
848   <img src="" alt="Invalid image" />. Previous behavior can be restored
849   with new directive %Core.RemoveInvalidImg set to false.
850 ! (X)HTML Strict now supported
851   + Transparently handles inline elements in block context (blockquote)
852 ! Added GET method to demo for easier validation, added 50kb max input size
853 ! New directive %HTML.BlockWrapper, for block-ifying inline elements
854 ! New directive %HTML.Parent, allows you to only allow inline content
855 ! New directives %HTML.AllowedElements and %HTML.AllowedAttributes to let
856   users narrow the set of allowed tags
857 ! <li value="4"> and <ul start="2"> now allowed in loose mode
858 ! New directives %URI.DisableExternalResources and %URI.DisableResources
859 ! New directive %Attr.DisableURI, which eliminates all hyperlinking
860 ! New directive %URI.Munge, munges URI so you can use some sort of redirector
861   service to avoid PageRank leaks or warn users that they are exiting your site.
862 ! Added spiffy new smoketest printDefinition.php, which lets you twiddle with
863   the configuration settings and see how the internal rules are affected.
864 ! New directive %URI.HostBlacklist for blocking links to bad hosts.
865   xssAttacks.php smoketest updated accordingly.
866 - Added missing type to ChildDef_Chameleon
867 - Remove Tidy option from demo if there is not Tidy available
868 . ChildDef_Required guards against empty tags
869 . Lookup table HTMLDefinition->info_flow_elements added
870 . Added peace-of-mind variable initialization to Strategy_FixNesting
871 . Added HTMLPurifier->info_parent_def, parent child processing made special
872 . Added internal documents briefly summarizing future progression of HTML
873 . HTMLPurifier_Config->getBatch($namespace) added
874 . More lenient casting to bool from string in HTMLPurifier_ConfigSchema
875 . Refactored ChildDef classes into their own files
877 1.2.0, released 2006-11-19
878 # ID attributes now disabled by default. New directives:
879   + %HTML.EnableAttrID - restores old behavior by allowing IDs
880   + %Attr.IDPrefix - %Attr.IDBlacklist alternative that munges all user IDs
881     so that they don't collide with your IDs
882   + %Attr.IDPrefixLocal - Same as above, but for when there are multiple
883     instances of user content on the page
884   + Profuse documentation on how to use these available in docs/enduser-id.txt
885 ! Added MODx plugin <http://modxcms.com/forums/index.php/topic,6604.0.html>
886 ! Added percent encoding normalization
887 ! XSS attacks smoketest given facelift
888 ! Configuration documentation now has table of contents
889 ! Added %URI.DisableExternal, which prevents links to external websites.  You
890   can also use %URI.Host to permit absolute linking to subdomains
891 ! Non-accessible resources (ex. mailto) blocked from embedded URIs (img src)
892 - Type variable in HTMLDefinition was not being set properly, fixed
893 - Documentation updated
894   + TODO added request Phalanger
895   + TODO added request Native compression
896   + TODO added request Remove redundant tags
897   + TODO added possible plaintext formatter for HTML Purifier documentation
898   + Updated ConfigDoc TODO
899   + Improved inline comments in AttrDef/Class.php, AttrDef/CSS.php
900     and AttrDef/Host.php
901   + Revamped documentation into HTML, along with misc updates
902 - HTMLPurifier_Context doesn't throw a variable reference error if you attempt
903   to retrieve a non-existent variable
904 . Switched to purify()-wide Context object registry
905 . Refactored unit tests to minimize duplication
906 . XSS attack sheet updated
907 . configdoc.xml now has xml:space attached to default value nodes
908 . Allow configuration directives to permit null values
909 . Cleaned up test-cases to remove unnecessary swallowErrors()
911 1.1.2, released 2006-09-30
912 ! Add HTMLPurifier.auto.php stub file that configures include_path
913 - Documentation updated
914   + INSTALL document rewritten
915   + TODO added semi-lossy conversion
916   + API Doxygen docs' file exclusions updated
917   + Added notes on HTML versus XML attribute whitespace handling
918   + Noted that HTMLPurifier_ChildDef_Custom isn't being used
919   + Noted that config object's definitions are cached versions
920 - Fixed lack of attribute parsing in HTMLPurifier_Lexer_PEARSax3
921 - ftp:// URIs now have their typecodes checked
922 - Hooked up HTMLPurifier_ChildDef_Custom's unit tests (they weren't being run)
923 . Line endings standardized throughout project (svn:eol-style standardized)
924 . Refactored parseData() to general Lexer class
925 . Tester named "HTML Purifier" not "HTMLPurifier"
927 1.1.1, released 2006-09-24
928 ! Configuration option to optionally Tidy up output for indentation to make up
929   for dropped whitespace by DOMLex (pretty-printing for the entire application
930   should be done by a page-wide Tidy)
931 - Various documentation updates
932 - Fixed parse error in configuration documentation script
933 - Fixed fatal error in benchmark scripts, slightly augmented
934 - As far as possible, whitespace is preserved in-between table children
935 - Sample test-settings.php file included
937 1.1.0, released 2006-09-16
938 ! Directive documentation generation using XSLT
939 ! XHTML can now be turned off, output becomes <br>
940 - Made URI validator more forgiving: will ignore leading and trailing
941   quotes, apostrophes and less than or greater than signs.
942 - Enforce alphanumeric namespace and directive names for configuration.
943 - Table child definition made more flexible, will fix up poorly ordered elements
944 . Renamed ConfigDef to ConfigSchema
946 1.0.1, released 2006-09-04
947 - Fixed slight bug in DOMLex attribute parsing
948 - Fixed rejection of case-insensitive configuration values when there is a
949   set of allowed values.  This manifested in %Core.Encoding.
950 - Fixed rejection of inline style declarations that had lots of extra
951   space in them.  This manifested in TinyMCE.
953 1.0.0, released 2006-09-01
954 ! Shorthand CSS properties implemented: font, border, background, list-style
955 ! Basic color keywords translated into hexadecimal values
956 ! Table CSS properties implemented
957 ! Support for charsets other than UTF-8 (defined by iconv)
958 ! Malformed UTF-8 and non-SGML character detection and cleaning implemented
959 - Fixed broken numeric entity conversion
960 - API documentation completed
961 . (HTML|CSS)Definition de-singleton-ized
963 1.0.0beta, released 2006-08-16
964 ! First public release, most functionality implemented. Notable omissions are:
965   + Shorthand CSS properties
966   + Table CSS properties
967   + Deprecated attribute transformations
969     vim: et sw=4 sts=4