mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-30 19:00:10 +02:00
[1.7.0] Convert Image, Legacy and List to use new format.
- Make attribute array parameter optional - Optimize contents parsing for keywords git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1041 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -58,6 +58,10 @@ class HTMLPurifier_HTMLModuleTest extends UnitTestCase
|
||||
$module->parseContents('Flow'),
|
||||
array('optional', 'Flow | #PCDATA')
|
||||
);
|
||||
$this->assertIdentical(
|
||||
$module->parseContents('Empty'),
|
||||
array('empty', '')
|
||||
);
|
||||
|
||||
// normalization procedures
|
||||
$this->assertIdentical(
|
||||
|
Reference in New Issue
Block a user