mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-05 21:57:26 +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:
7
NEWS
7
NEWS
@@ -15,9 +15,16 @@ ERRATA
|
|||||||
HTML Purifier.
|
HTML Purifier.
|
||||||
|
|
||||||
2.1.5, unknown release date
|
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
|
. Added HTMLPurifier_UnitConverter and HTMLPurifier_Length for convenient
|
||||||
handling of CSS-style lengths. HTMLPurifier_AttrDef_CSS_Length now uses
|
handling of CSS-style lengths. HTMLPurifier_AttrDef_CSS_Length now uses
|
||||||
this class.
|
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
|
2.1.4, released 2008-05-18
|
||||||
! DefinitionCacheFactory now can register new implementations
|
! DefinitionCacheFactory now can register new implementations
|
||||||
|
@@ -34,6 +34,7 @@ $test_files[] = 'HTMLPurifier/AttrDef/HTML/LinkTypesTest.php';
|
|||||||
$test_files[] = 'HTMLPurifier/AttrDef/IntegerTest.php';
|
$test_files[] = 'HTMLPurifier/AttrDef/IntegerTest.php';
|
||||||
$test_files[] = 'HTMLPurifier/AttrDef/LangTest.php';
|
$test_files[] = 'HTMLPurifier/AttrDef/LangTest.php';
|
||||||
$test_files[] = 'HTMLPurifier/AttrDef/TextTest.php';
|
$test_files[] = 'HTMLPurifier/AttrDef/TextTest.php';
|
||||||
|
$test_files[] = 'HTMLPurifier/AttrDef/SwitchTest.php';
|
||||||
$test_files[] = 'HTMLPurifier/AttrDef/URI/Email/SimpleCheckTest.php';
|
$test_files[] = 'HTMLPurifier/AttrDef/URI/Email/SimpleCheckTest.php';
|
||||||
$test_files[] = 'HTMLPurifier/AttrDef/URI/HostTest.php';
|
$test_files[] = 'HTMLPurifier/AttrDef/URI/HostTest.php';
|
||||||
$test_files[] = 'HTMLPurifier/AttrDef/URI/IPv4Test.php';
|
$test_files[] = 'HTMLPurifier/AttrDef/URI/IPv4Test.php';
|
||||||
|
Reference in New Issue
Block a user