mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-10 09:16:20 +02:00
[1.7.0] Convert table module to new format. Add support for literal object $contents variable.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1045 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@ -83,6 +83,13 @@ class HTMLPurifier_HTMLModuleTest extends UnitTestCase
|
||||
array('optional', 'a | b | c')
|
||||
);
|
||||
|
||||
// object pass-through
|
||||
generate_mock_once('HTMLPurifier_AttrDef');
|
||||
$this->assertIdentical(
|
||||
$module->parseContents(new HTMLPurifier_AttrDefMock()),
|
||||
array(null, null)
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
function test_mergeInAttrIncludes() {
|
||||
|
Reference in New Issue
Block a user