mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-05 13:47:24 +02:00
Implement simple attribute transformations and roll them out.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@152 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -26,6 +26,9 @@ class HTMLPurifier_AttrDef_IDTest extends UnitTestCase
|
||||
// test duplicate detection
|
||||
$this->assertFalse($def->validate('a' , $acc));
|
||||
|
||||
// valid once whitespace stripped, but needs to be amended
|
||||
$this->assertEqual('whee', $def->validate(' whee ', $acc));
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user