mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-05 13:47:24 +02:00
[1.7.0] Various updates
- Implement addModule(), requires new userModules property - Remove unnecessary $config passing for getElement(s) - Revamp HTMLModuleManagerTest - Fix buggy unit test for unrecognized parent - Remove anonymous generator member variable from ChildDef_Required git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1063 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -107,7 +107,7 @@ class HTMLPurifier_Strategy_FixNestingTest extends HTMLPurifier_StrategyHarness
|
||||
|
||||
$this->expectError('Cannot use unrecognized element as parent.');
|
||||
$this->assertResult(
|
||||
'<div>Accept</div>', true, array('HTML.Parent' => 'script')
|
||||
'<div>Accept</div>', true, array('HTML.Parent' => 'fling')
|
||||
);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user