1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-09-01 18:03:43 +02:00

Add missing bits from previous commit.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/branches/php4@1786 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2008-06-11 01:56:22 +00:00
parent 234cd2196f
commit 0d262b3a1d
2 changed files with 8 additions and 0 deletions

7
NEWS
View File

@@ -15,9 +15,16 @@ ERRATA
HTML Purifier.
2.1.5, unknown release date
! More robust imagecrash protection with height/width CSS with %CSS.MaxImgLength,
and height/width HTML with %HTML.MaxImgLength.
. Added HTMLPurifier_UnitConverter and HTMLPurifier_Length for convenient
handling of CSS-style lengths. HTMLPurifier_AttrDef_CSS_Length now uses
this class.
- Disable percent height/width attributes for img
. API of HTMLPurifier_AttrDef_CSS_Length changed from __construct($disable_negative)
to __construct($min, $max). __construct(true) is equivalent to
__construct('0'). (replace __construct with HTMLPurifier_AttrDef_CSS_Length)
. Added HTMLPurifier_AttrDef_Switch class
2.1.4, released 2008-05-18
! DefinitionCacheFactory now can register new implementations