function setUp()
 {
     parent::setUp();
     $this->config->set('HTML', 'Trusted', true);
     $this->config->set('Attr', 'EnableID', true);
     $this->config->set('Cache', 'DefinitionImpl', null);
 }
Beispiel #2
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.DefinitionID', 'HTMLPurifier_HTMLModule_SafeObjectTest');
     $def = $this->config->getHTMLDefinition(true);
     $def->manager->addModule('SafeObject');
 }
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.TargetBlank', true);
 }
Beispiel #4
0
 public function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.SafeScripting', array('http://localhost/foo.js'));
 }
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.DefinitionID', 'HTMLPurifier_HTMLModule_SafeObjectTest');
     $this->config->set('HTML.SafeObject', true);
 }
Beispiel #6
0
 public function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Trusted', true);
     $this->config->set('Attr.EnableID', true);
 }
Beispiel #7
0
 public function setUp()
 {
     parent::setUp();
 }
Beispiel #8
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Nofollow', true);
     $this->config->set('Attr.AllowedRel', array("nofollow", "blah"));
 }
Beispiel #9
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Nofollow', true);
 }
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Trusted', true);
 }
Beispiel #11
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Doctype', 'XHTML 1.1');
 }
Beispiel #12
0
 public function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Proprietary', true);
 }
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Trusted', true);
     $this->config->set('Output.CommentScriptContents', false);
 }
Beispiel #14
0
 public function setUp()
 {
     parent::setUp();
     $def = $this->config->getHTMLDefinition(true);
     $def->manager->addModule('SafeEmbed');
 }