3 class HTMLPurifier_Strategy_MakeWellFormed_SkipInjectorTest
extends HTMLPurifier_StrategyHarness
5 public function setUp()
8 $this->obj
= new HTMLPurifier_Strategy_MakeWellFormed();
9 $this->config
->set('AutoFormat.Custom', array(
10 new HTMLPurifier_Strategy_MakeWellFormed_SkipInjector()
13 public function testEmpty()
15 $this->assertResult('');
17 public function testMultiply()
19 $this->assertResult('<br />', '<br /><br />');
21 public function testMultiplyMultiply()
23 $this->config
->set('AutoFormat.Custom', array(
24 new HTMLPurifier_Strategy_MakeWellFormed_SkipInjector(),
25 new HTMLPurifier_Strategy_MakeWellFormed_SkipInjector()
27 $this->assertResult('<br />', '<br /><br /><br /><br />');