Ejemplo n.º 1
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML', 'Trusted', true);
     $this->config->set('Attr', 'EnableID', true);
     $this->config->set('Cache', 'DefinitionImpl', null);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 4
0
 public function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.SafeScripting', array('http://localhost/foo.js'));
 }
Ejemplo n.º 5
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.DefinitionID', 'HTMLPurifier_HTMLModule_SafeObjectTest');
     $this->config->set('HTML.SafeObject', true);
 }
Ejemplo n.º 6
0
 public function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Trusted', true);
     $this->config->set('Attr.EnableID', true);
 }
Ejemplo n.º 7
0
 public function setUp()
 {
     parent::setUp();
 }
Ejemplo n.º 8
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Nofollow', true);
     $this->config->set('Attr.AllowedRel', array("nofollow", "blah"));
 }
Ejemplo n.º 9
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Nofollow', true);
 }
Ejemplo n.º 10
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Trusted', true);
 }
Ejemplo n.º 11
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Doctype', 'XHTML 1.1');
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 14
0
 public function setUp()
 {
     parent::setUp();
     $def = $this->config->getHTMLDefinition(true);
     $def->manager->addModule('SafeEmbed');
 }