0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-08 14:58:42 +00:00

Add nested test for del/ins inline support.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@718 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2007-02-04 21:02:35 +00:00
parent a863f62489
commit 882148f9ad

View File

@ -93,6 +93,9 @@ class HTMLPurifier_Strategy_FixNestingTest extends HTMLPurifier_StrategyHarness
'<h1><ins><del><div>Not allowed!</div></del></ins></h1>', '<h1><ins><del><div>Not allowed!</div></del></ins></h1>',
'<h1><ins><del>Not allowed!</del></ins></h1>' '<h1><ins><del>Not allowed!</del></ins></h1>'
); );
$this->assertResult(
'<div><ins><del><div>Allowed!</div></del></ins></div>'
);
// test inline parent // test inline parent
$this->assertResult( $this->assertResult(