1 NEWS ( CHANGELOG and HISTORY ) HTMLPurifier
2 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
4 = KEY ====================
10 ==========================
12 3.1.0, unknown release date
13 # Autoload support added. Internal require_once's removed in favor of an
14 explicit require list or autoloading. To use HTML Purifier,
15 you must now either use HTMLPurifier.auto.php
16 or HTMLPurifier.includes.php; setting the include path and including
17 HTMLPurifier.php is insufficient--in such cases include HTMLPurifier.autoload.php
18 as well to register our autoload handler (or modify your autoload function
19 to check HTMLPurifier_Bootstrap::getPath($class)).
20 # HTMLPurifier_ConfigSchema static functions are officially deprecated. Schema
21 information is stored in the ConfigSchema directory, and the
22 maintenance/generate-schema-cache.php generates the schema.ser file, which
23 is now instantiated. Support for userland schema changes coming soon!
24 ! Extra utility classes for testing and non-library operations can
25 be found in extras/. Specifically, these are FSTools and ConfigSchema.
26 You may find a use for these in your own project, but right now they
27 are highly experimental and volatile.
28 - Autoclose now operates iteratively, i.e. <span><span><div> now has
29 both span tags closed.
30 . Plugins now get their own changelogs according to project conventions.
31 . Convert tokens to use instanceof, reducing memory footprint and
32 improving comparison speed.
33 . Dry runs now supported in SimpleTest; testing facilities improved
34 . Bootstrap class added for handling autoloading functionality
35 . Implemented recursive glob at FSTools->globr
36 . ConfigSchema now has instance methods for all corresponding define*
38 . A couple of new historical maintenance scripts were added.
39 . HTMLPurifier/HTMLModule/Tidy/XHTMLAndHTML4.php split into two files
40 . tests/index.php can now be run from any directory.
42 3.0.0, released 2008-01-06
43 # HTML Purifier is PHP 5 only! The 2.1.x branch will be maintained
44 until PHP 4 is completely deprecated, but no new features will be added
46 + Visibility declarations added
47 + Constructor methods renamed to __construct()
48 + PHP4 reference cruft removed (in progress)
49 ! CSS properties are now case-insensitive
50 ! DefinitionCacheFactory now can register new implementations
51 ! New HTMLPurifier_Filter_ExtractStyleBlocks for extracting <style> from
52 documents and cleaning their contents up. Requires the CSSTidy library
53 <http://csstidy.sourceforge.net/>. You can access the blocks with the
54 'StyleBlocks' Context variable ($purifier->context->get('StyleBlocks')).
55 The output CSS can also be "scoped" for a specific element, use:
56 %Filter.ExtractStyleBlocksScope
57 ! Experimental support for some proprietary CSS attributes allowed:
58 opacity (and all of the browser-specific equivalents) and scrollbar colors.
59 Enable by setting %CSS.Proprietary to true.
60 - Colors missing # but in hex form will be corrected
61 - CSS Number algorithm improved
62 - Unit testing and multi-testing now on steroids: command lines,
63 XML output, and other goodies now added.
64 . Unit tests for Injector improved
66 + HTMLPurifier_AttrDef_CSS_AlphaValue
67 + HTMLPurifier_AttrDef_CSS_Filter
68 . Multitest now has a file docblock
70 2.1.3, released 2007-11-05
71 ! tests/multitest.php allows you to test multiple versions by running
72 tests/index.php through multiple interpreters using `phpv` shell
73 script (you must provide this script!)
74 - Fixed poor include ordering for Email URI AttrDefs, causes fatal errors
76 - Injector algorithm further refined: off-by-one error regarding skip
77 counts for dormant injectors fixed
78 - Corrective blockquote definition now enabled for HTML 4.01 Strict
79 - Fatal error when <img> tag (or any other element with required attributes)
80 has 'id' attribute fixed, thanks NykO18 for reporting
81 - Fix warning emitted when a non-supported URI scheme is passed to the
82 MakeAbsolute URIFilter, thanks NykO18 (again)
83 - Further refine AutoParagraph injector. Behavior inside of elements
84 allowing paragraph tags clarified: only inline content delimeted by
85 double newlines (not block elements) are paragraphed.
86 - Buggy treatment of end tags of elements that have required attributes
87 fixed (does not manifest on default tag-set)
88 - Spurious internal content reorganization error suppressed
89 - HTMLDefinition->addElement now returns a reference to the created
90 element object, as implied by the documentation
91 - Phorum mod's HTML Purifier help message expanded (unreleased elsewhere)
92 - Fix a theoretical class of infinite loops from DirectLex reported
94 - Work around unnecessary DOMElement type-cast in PH5P that caused errors
96 - Work around PHP 4 SimpleTest lack-of-error complaining for one-time-only
97 HTMLDefinition errors, this may indicate problems with error-collecting
99 - Make ErrorCollectorEMock work in both PHP 4 and PHP 5
100 - Make PH5P work with PHP 5.0 by removing unnecessary array parameter typedef
101 . %Core.AcceptFullDocuments renamed to %Core.ConvertDocumentToFragment
102 to better communicate its purpose
103 . Error unit tests can now specify the expectation of no errors. Future
104 iterations of the harness will be extremely strict about what errors
106 . Extend Injector hooks to allow for more powerful injector routines
107 . HTMLDefinition->addBlankElement created, as according to the HTMLModule
109 . Doxygen configuration file updated, with minor improvements
110 . Test runner now checks for similarly named files in conf/ directory too.
111 . Minor cosmetic change to flush-definition-cache.php: trailing newline is
113 . Maintenance script for generating PH5P patch added, original PH5P source
114 file also added under version control
115 . Full unit test runner script title made more descriptive with PHP version
116 . Updated INSTALL file to state that 4.3.7 is the earliest version we
119 2.1.2, released 2007-09-03
120 ! Implemented Object module for trusted users
121 ! Implemented experimental HTML5 parsing mode using PH5P. To use, add
123 require_once 'HTMLPurifier/Lexer/PH5P.php';
124 $config->set('Core', 'LexerImpl', 'PH5P');
125 Note that this Lexer introduces some classes not in the HTMLPurifier
126 namespace. Also, this is PHP5 only.
127 ! CSS property border-spacing implemented
128 - Fix non-visible parsing error in DirectLex with empty tags that have
129 slashes inside attribute values.
130 - Fix typo in CSS definition: border-collapse:seperate; was incorrectly
131 accepted as valid CSS. Usually non-visible, because this styling is the
132 default for tables in most browsers. Thanks Brett Zamir for pointing
134 - Fix validation errors in configuration form
135 - Hammer out a bunch of edge-case bugs in the standalone distribution
136 - Inclusion reflection removed from URISchemeRegistry; you must manually
137 include any new schema files you wish to use
138 - Numerous typo fixes in documentation thanks to Brett Zamir
139 . Unit test refactoring for one logical test per test function
140 . Config and context parameters in ComplexHarness deprecated: instead, edit
141 the $config and $context member variables
142 . HTML wrapper in DOMLex now takes DTD identifiers into account; doesn't
143 really make a difference, but is good for completeness sake
144 . merge-library.php script refactored for greater code reusability and
147 2.1.1, released 2007-08-04
148 - Fix show-stopper bug in %URI.MakeAbsolute functionality
149 - Fix PHP4 syntax error in standalone version
150 . Add prefix directory to include path for standalone, this prevents
151 other installations from clobbering the standalone's URI schemes
152 . Single test methods can be invoked by prefixing with __only
154 2.1.0, released 2007-08-02
155 # flush-htmldefinition-cache.php superseded in favor of a generic
156 flush-definition-cache.php script, you can clear a specific cache
157 by passing its name as a parameter to the script
158 ! Phorum mod implemented for HTML Purifier
159 ! With %Core.AggressivelyFixLt, <3 and similar emoticons no longer
160 trigger HTML removal in PHP5 (DOMLex). This directive is not necessary
161 for PHP4 (DirectLex).
162 ! Standalone file now available, which greatly reduces the amount of
163 includes (although there are still a few files that reside in the
165 ! Relative URIs can now be transformed into their absolute equivalents
166 using %URI.Base and %URI.MakeAbsolute
167 ! Ruby implemented for XHTML 1.1
168 ! You can now define custom URI filtering behavior, see enduser-uri-filter.html
170 ! UTF-8 font names now supported in CSS
171 - AutoFormatters emit friendly error messages if tags or attributes they
173 - ConfigForm's compactification of directive names is now configurable
174 - AutoParagraph autoformatter algorithm refined after field-testing
175 - XHTML 1.1 now applies XHTML 1.0 Strict cleanup routines, namely
177 - Contents of <style> tags removed by default when tags are removed
178 . HTMLPurifier_Config->getSerial() implemented, this is extremely useful
179 for output cache invalidation
180 . ConfigForm printer now can retrieve CSS and JS files as strings, in
181 case HTML Purifier's directory is not publically accessible
182 . Introduce new text/itext configuration directive values: these represent
183 longer strings that would be more appropriately edited with a textarea
184 . Allow newlines to act as separators for lists, hashes, lookups and
186 . ConfigForm generates textareas instead of text inputs for lists, hashes,
187 lookups, text and itext fields
188 . Hidden element content removal genericized: %Core.HiddenElements can
189 be used to customize this behavior, by default <script> and <style> are
191 . Added HTMLPURIFIER_PREFIX constant, should be used instead of dirname(__FILE__)
192 . Custom ChildDef added to default include list
193 . URIScheme reflection improved: will not attempt to include file if class
194 already exists. May clobber autoload, so I need to keep an eye on it
195 . ConfigSchema heavily optimized, will only collect information and validate
196 definitions when HTMLPURIFIER_SCHEMA_STRICT is true.
197 . AttrDef_URI unit tests and implementation refactored
198 . benchmarks/ directory now protected from public view with .htaccess file;
199 run the tests via command line
200 . URI scheme is munged off if there is no authority and the scheme is the
202 . All unit tests inherit from HTMLPurifier_Harness, not UnitTestCase
203 . Interface for URIScheme changed
204 . Generic URI object to hold components of URI added, most systems involved
205 in URI validation have been migrated to use it
206 . Custom filtering for URIs factored out to URIDefinition interface for
207 maximum extensibility
209 2.0.1, released 2007-06-27
210 ! Tag auto-closing now based on a ChildDef heuristic rather than a
211 manually set auto_close array; some behavior may change
212 ! Experimental AutoFormat functionality added: auto-paragraph and
213 linkify your HTML input by setting %AutoFormat.AutoParagraph and
214 %AutoFormat.Linkify to true
215 ! Newlines normalized internally, and then converted back to the
216 value of PHP_EOL. If this is not desired, set your newline format
217 using %Output.Newline.
218 ! Beta error collection, messages are implemented for the most generic
219 cases involving Lexing or Strategies
220 - Clean up special case code for <script> tags
221 - Reorder includes for DefinitionCache decorators, fixes a possible
223 - Fixed bug where manually modified definitions were not saved via cache
224 (mostly harmless, except for the fact that it would be a little slower)
225 - Configuration objects with different serials do not clobber each
226 others when revision numbers are unequal
227 - Improve Serializer DefinitionCache directory permissions checks
228 - DefinitionCache no longer throws errors when it encounters old
229 serial files that do not conform to the current style
230 - Stray xmlns attributes removed from configuration documentation
231 - configForm.php smoketest no longer has XSS vulnerability due to
232 unescaped print_r output
233 - Printer adheres to configuration's directives on output format
234 - Fix improperly named form field in ConfigForm printer
235 . Rewire some test-cases to swallow errors rather than expect them
236 . HTMLDefinition printer updated with some of the new attributes
237 . DefinitionCache keys reordered to reflect precedence: version number,
238 hash, then revision number
239 . %Core.DefinitionCache renamed to %Cache.DefinitionImpl
240 . Interlinking in configuration documentation added using
241 Injector_PurifierLinkify
242 . Directives now keep track of aliases to themselves
243 . Error collector now requires a severity to be passed, use PHP's internal
244 error constants for this
245 . HTMLPurifier_Config::getAllowedDirectivesForForm implemented, allows
246 much easier selective embedding of configuration values
247 . Doctype objects now accept public and system DTD identifiers
248 . %HTML.Doctype is now constrained by specific values, to specify a custom
249 doctype use new %HTML.CustomDoctype
250 . ConfigForm truncates long directives to keep the form small, and does
251 not re-output namespaces
253 2.0.0, released 2007-06-20
254 # Completely refactored HTMLModuleManager, decentralizing safety
256 # Transform modules changed to Tidy modules, which offer more flexibility
257 and better modularization
258 # Configuration object now finalizes itself when a read operation is
259 performed on it, ensuring that its internal state stays consistent.
260 To revert this behavior, you can set the $autoFinalize member variable
261 off, but it's not recommended.
262 # New compact syntax for AttrDef objects that can be used to instantiate
263 new objects via make()
264 # Definitions (esp. HTMLDefinition) are now cached for a significant
265 performance boost. You can disable caching by setting %Core.DefinitionCache
266 to null. You CANNOT edit raw definitions without setting the corresponding
267 DefinitionID directive (%HTML.DefinitionID for HTMLDefinition).
268 # Contents between <script> tags are now completely removed if <script>
270 # Prototype-declarations for Lexer removed in favor of configuration
271 determination of Lexer implementations.
272 ! HTML Purifier now works in PHP 4.3.2.
273 ! Configuration form-editing API makes tweaking HTMLPurifier_Config a
275 ! Configuration directives that accept hashes now allow new string
276 format: key1:value1,key2:value2
277 ! ConfigDoc now factored into OOP design
278 ! All deprecated elements now natively supported
279 ! Implement TinyMCE styled whitelist specification format in
281 ! Config object gives more friendly error messages when things go wrong
282 ! Advanced API implemented: easy functions for creating elements (addElement)
283 and attributes (addAttribute) on HTMLDefinition
284 ! Add native support for required attributes
285 - Deprecated and removed EnableRedundantUTF8Cleaning. It didn't even work!
286 - DOMLex will not emit errors when a custom error handler that does not
287 honor error_reporting is used
288 - StrictBlockquote child definition refrains from wrapping whitespace
290 - Bug resulting from tag transforms to non-allowed elements fixed
291 - ChildDef_Custom's regex generation has been improved, removing several
293 . Unit test for ElementDef created, ElementDef behavior modified to
295 . Added convenience functions for HTMLModule constructors
296 . AttrTypes now has accessor functions that should be used instead
297 of directly manipulating info
298 . TagTransform_Center deprecated in favor of generic TagTransform_Simple
299 . Add extra protection in AttrDef_URI against phantom Schemes
300 . Doctype object added to HTMLDefinition which describes certain aspects
301 of the operational document type
302 . Lexer is now pre-emptively included, with a conditional include for the
304 . HTMLDefinition and CSSDefinition have a common parent class: Definition.
305 . DirectLex can now track line-numbers
306 . Preliminary error collector is in place, although no code actually reports
308 . Factor out most of ValidateAttributes to new AttrValidator class
310 1.6.1, released 2007-05-05
311 ! Support for more deprecated attributes via transformations:
312 + hspace and vspace in img
313 + size and noshade in hr
316 + align in caption, table, img and hr
317 + type in ul, ol and li
318 ! DirectLex now preserves text in which a < bracket is followed by
319 a non-alphanumeric character. This means that certain emoticons
321 ! %Core.RemoveInvalidImg is now operational, when set to false invalid
322 images will hang around with an empty src
323 ! target attribute in a tag supported, use %Attr.AllowedFrameTargets
325 ! CSS property white-space now allows nowrap (supported in all modern
326 browsers) but not others (which have spotty browser implementations)
327 ! XHTML 1.1 mode now sort-of works without any fatal errors, and
328 lang is now moved over to xml:lang.
329 ! Attribute transformation smoketest available at smoketests/attrTransform.php
330 ! Transformation of font's size attribute now handles super-large numbers
331 - Possibly fatal bug with __autoload() fixed in module manager
332 - Invert HTMLModuleManager->addModule() processing order to check
333 prefixes first and then the literal module
334 - Empty strings get converted to empty arrays instead of arrays with
335 an empty string in them.
336 - Merging in attribute lists now works.
337 . Demo script removed: it has been added to the website's repository
338 . Basic.php script modified to work out of the box
339 . Refactor AttrTransform classes to reduce duplication
340 . AttrTransform_TextAlign axed in favor of a more general
341 AttrTransform_EnumToCSS, refer to HTMLModule/TransformToStrict.php to
342 see how the new equivalent is implemented
343 . Unit tests now use exclusively assertIdentical
345 1.6.0, released 2007-04-01
346 ! Support for most common deprecated attributes via transformations:
347 + bgcolor in td, th, tr and table
350 + width in td, th and hr
352 ! Support for CSS attribute 'height' added
353 ! Support for rel and rev attributes in a tags added, use %Attr.AllowedRel
354 and %Attr.AllowedRev to activate
355 - You can define ID blacklists using regular expressions via
356 %Attr.IDBlacklistRegexp
357 - Error messages are emitted when you attempt to "allow" elements or
358 attributes that HTML Purifier does not support
359 - Fix segfault in unit test. The problem is not very reproduceable and
360 I don't know what causes it, but a six line patch fixed it.
362 1.5.0, released 2007-03-23
363 ! Added a rudimentary I18N and L10N system modeled off MediaWiki. It
364 doesn't actually do anything yet, but keep your eyes peeled.
365 ! docs/enduser-utf8.html explains how to use UTF-8 and HTML Purifier
366 ! Newly structured HTMLDefinition modeled off of XHTML 1.1 modules.
367 I am loathe to release beta quality APIs, but this is exactly that;
368 don't use the internal interfaces if you're not willing to do migration
370 - Allow 'x' subtag in language codes
371 - Fixed buggy chameleon-support for ins and del
372 . Added support for IDREF attributes (i.e. for)
373 . Renamed HTMLPurifier_AttrDef_Class to HTMLPurifier_AttrDef_Nmtokens
374 . Removed context variable ParentType, replaced with IsInline, which
375 is false when you're not inline and an integer of the parent that
376 caused you to become inline when you are (so possibly zero)
377 . Removed ElementDef->type in favor of ElementDef->descendants_are_inline
378 and HTMLDefinition->content_sets
379 . StrictBlockquote now reports what elements its supposed to allow,
380 rather than what it does allow
381 . Removed HTMLDefinition->info_flow_elements in favor of
382 HTMLDefinition->content_sets['Flow']
383 . Removed redundant "exclusionary" definitions from DTD roster
384 . StrictBlockquote now requires a construction parameter as if it
385 were an Required ChildDef, this is the "real" set of allowed elements
386 . AttrDef partitioned into HTML, CSS and URI segments
387 . Modify Youtube filter regexp to be multiline
388 . Require both PHP5 and DOM extension in order to use DOMLex, fixes
389 some edge cases where a DOMDocument class exists in a PHP4 environment
390 due to DOM XML extension.
392 1.4.1, released 2007-01-21
393 ! docs/enduser-youtube.html updated according to new functionality
394 - YouTube IDs can have underscores and dashes
396 1.4.0, released 2007-01-21
397 ! Implemented list-style-image, URIs now allowed in list-style
398 ! Implemented background-image, background-repeat, background-attachment
399 and background-position CSS properties. Shorthand property background
400 supports all of these properties.
401 ! Configuration documentation looks nicer
402 ! Added %Core.EscapeNonASCIICharacters to workaround loss of Unicode
403 characters while %Core.Encoding is set to a non-UTF-8 encoding.
404 ! Support for configuration directive aliases added
405 ! Config object can now be instantiated from ini files
406 ! YouTube preservation code added to the core, with two lines of code
407 you can add it as a filter to your code. See smoketests/preserveYouTube.php
409 ! Moved SLOW to docs/enduser-slow.html and added code examples
410 - Replaced version check with functionality check for DOM (thanks Stephen
412 . Added smoketest 'all.php', which loads all other smoketests via frames
413 . Implemented AttrDef_CSSURI for url(http://google.com) style declarations
414 . Added convenient single test selector form on test runner
416 1.3.2, released 2006-12-25
417 ! HTMLPurifier object now accepts configuration arrays, no need to manually
418 instantiate a configuration object
419 ! Context object now accessible to outside
420 ! Added enduser-youtube.html, explains how to embed YouTube videos. See
421 also corresponding smoketest preserveYouTube.php.
422 ! Added purifyArray(), which takes a list of HTML and purifies it all
423 ! Added static member variable $version to HTML Purifier with PHP-compatible
424 version number string.
425 - Fixed fatal error thrown by upper-cased language attributes
426 - printDefinition.php: added labels, added better clarification
427 . HTMLPurifier_Config::create() added, takes mixed variable and converts into
428 a HTMLPurifier_Config object.
430 1.3.1, released 2006-12-06
431 ! Added HTMLPurifier.func.php stub for a convenient function to call the library
432 - Fixed bug in RemoveInvalidImg code that caused all images to be dropped
433 (thanks to .mario for reporting this)
434 . Standardized all attribute handling variables to attr, made it plural
436 1.3.0, released 2006-11-26
437 # Invalid images are now removed, rather than replaced with a dud
438 <img src="" alt="Invalid image" />. Previous behavior can be restored
439 with new directive %Core.RemoveInvalidImg set to false.
440 ! (X)HTML Strict now supported
441 + Transparently handles inline elements in block context (blockquote)
442 ! Added GET method to demo for easier validation, added 50kb max input size
443 ! New directive %HTML.BlockWrapper, for block-ifying inline elements
444 ! New directive %HTML.Parent, allows you to only allow inline content
445 ! New directives %HTML.AllowedElements and %HTML.AllowedAttributes to let
446 users narrow the set of allowed tags
447 ! <li value="4"> and <ul start="2"> now allowed in loose mode
448 ! New directives %URI.DisableExternalResources and %URI.DisableResources
449 ! New directive %Attr.DisableURI, which eliminates all hyperlinking
450 ! New directive %URI.Munge, munges URI so you can use some sort of redirector
451 service to avoid PageRank leaks or warn users that they are exiting your site.
452 ! Added spiffy new smoketest printDefinition.php, which lets you twiddle with
453 the configuration settings and see how the internal rules are affected.
454 ! New directive %URI.HostBlacklist for blocking links to bad hosts.
455 xssAttacks.php smoketest updated accordingly.
456 - Added missing type to ChildDef_Chameleon
457 - Remove Tidy option from demo if there is not Tidy available
458 . ChildDef_Required guards against empty tags
459 . Lookup table HTMLDefinition->info_flow_elements added
460 . Added peace-of-mind variable initialization to Strategy_FixNesting
461 . Added HTMLPurifier->info_parent_def, parent child processing made special
462 . Added internal documents briefly summarizing future progression of HTML
463 . HTMLPurifier_Config->getBatch($namespace) added
464 . More lenient casting to bool from string in HTMLPurifier_ConfigSchema
465 . Refactored ChildDef classes into their own files
467 1.2.0, released 2006-11-19
468 # ID attributes now disabled by default. New directives:
469 + %HTML.EnableAttrID - restores old behavior by allowing IDs
470 + %Attr.IDPrefix - %Attr.IDBlacklist alternative that munges all user IDs
471 so that they don't collide with your IDs
472 + %Attr.IDPrefixLocal - Same as above, but for when there are multiple
473 instances of user content on the page
474 + Profuse documentation on how to use these available in docs/enduser-id.txt
475 ! Added MODx plugin <http://modxcms.com/forums/index.php/topic,6604.0.html>
476 ! Added percent encoding normalization
477 ! XSS attacks smoketest given facelift
478 ! Configuration documentation now has table of contents
479 ! Added %URI.DisableExternal, which prevents links to external websites. You
480 can also use %URI.Host to permit absolute linking to subdomains
481 ! Non-accessible resources (ex. mailto) blocked from embedded URIs (img src)
482 - Type variable in HTMLDefinition was not being set properly, fixed
483 - Documentation updated
484 + TODO added request Phalanger
485 + TODO added request Native compression
486 + TODO added request Remove redundant tags
487 + TODO added possible plaintext formatter for HTML Purifier documentation
488 + Updated ConfigDoc TODO
489 + Improved inline comments in AttrDef/Class.php, AttrDef/CSS.php
491 + Revamped documentation into HTML, along with misc updates
492 - HTMLPurifier_Context doesn't throw a variable reference error if you attempt
493 to retrieve a non-existent variable
494 . Switched to purify()-wide Context object registry
495 . Refactored unit tests to minimize duplication
496 . XSS attack sheet updated
497 . configdoc.xml now has xml:space attached to default value nodes
498 . Allow configuration directives to permit null values
499 . Cleaned up test-cases to remove unnecessary swallowErrors()
501 1.1.2, released 2006-09-30
502 ! Add HTMLPurifier.auto.php stub file that configures include_path
503 - Documentation updated
504 + INSTALL document rewritten
505 + TODO added semi-lossy conversion
506 + API Doxygen docs' file exclusions updated
507 + Added notes on HTML versus XML attribute whitespace handling
508 + Noted that HTMLPurifier_ChildDef_Custom isn't being used
509 + Noted that config object's definitions are cached versions
510 - Fixed lack of attribute parsing in HTMLPurifier_Lexer_PEARSax3
511 - ftp:// URIs now have their typecodes checked
512 - Hooked up HTMLPurifier_ChildDef_Custom's unit tests (they weren't being run)
513 . Line endings standardized throughout project (svn:eol-style standardized)
514 . Refactored parseData() to general Lexer class
515 . Tester named "HTML Purifier" not "HTMLPurifier"
517 1.1.1, released 2006-09-24
518 ! Configuration option to optionally Tidy up output for indentation to make up
519 for dropped whitespace by DOMLex (pretty-printing for the entire application
520 should be done by a page-wide Tidy)
521 - Various documentation updates
522 - Fixed parse error in configuration documentation script
523 - Fixed fatal error in benchmark scripts, slightly augmented
524 - As far as possible, whitespace is preserved in-between table children
525 - Sample test-settings.php file included
527 1.1.0, released 2006-09-16
528 ! Directive documentation generation using XSLT
529 ! XHTML can now be turned off, output becomes <br>
530 - Made URI validator more forgiving: will ignore leading and trailing
531 quotes, apostrophes and less than or greater than signs.
532 - Enforce alphanumeric namespace and directive names for configuration.
533 - Table child definition made more flexible, will fix up poorly ordered elements
534 . Renamed ConfigDef to ConfigSchema
536 1.0.1, released 2006-09-04
537 - Fixed slight bug in DOMLex attribute parsing
538 - Fixed rejection of case-insensitive configuration values when there is a
539 set of allowed values. This manifested in %Core.Encoding.
540 - Fixed rejection of inline style declarations that had lots of extra
541 space in them. This manifested in TinyMCE.
543 1.0.0, released 2006-09-01
544 ! Shorthand CSS properties implemented: font, border, background, list-style
545 ! Basic color keywords translated into hexadecimal values
546 ! Table CSS properties implemented
547 ! Support for charsets other than UTF-8 (defined by iconv)
548 ! Malformed UTF-8 and non-SGML character detection and cleaning implemented
549 - Fixed broken numeric entity conversion
550 - API documentation completed
551 . (HTML|CSS)Definition de-singleton-ized
553 1.0.0beta, released 2006-08-16
554 ! First public release, most functionality implemented. Notable omissions are:
555 + Shorthand CSS properties
556 + Table CSS properties
557 + Deprecated attribute transformations