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