3 class HTMLPurifier_Strategy_MakeWellFormed_SkipInjectorTest
extends HTMLPurifier_StrategyHarness
7 $this->obj
= new HTMLPurifier_Strategy_MakeWellFormed();
8 $this->config
->set('AutoFormat.Custom', array(
9 new HTMLPurifier_Strategy_MakeWellFormed_SkipInjector()
12 function testEmpty() {
13 $this->assertResult('');
15 function testMultiply() {
16 $this->assertResult('<br />', '<br /><br />');
18 function testMultiplyMultiply() {
19 $this->config
->set('AutoFormat.Custom', array(
20 new HTMLPurifier_Strategy_MakeWellFormed_SkipInjector(),
21 new HTMLPurifier_Strategy_MakeWellFormed_SkipInjector()
23 $this->assertResult('<br />', '<br /><br /><br /><br />');