コード例 #1
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML', 'Trusted', true);
     $this->config->set('Attr', 'EnableID', true);
     $this->config->set('Cache', 'DefinitionImpl', null);
 }
コード例 #2
0
ファイル: SafeObjectTest.php プロジェクト: hitchby/PLEXUS
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.DefinitionID', 'HTMLPurifier_HTMLModule_SafeObjectTest');
     $def = $this->config->getHTMLDefinition(true);
     $def->manager->addModule('SafeObject');
 }
コード例 #3
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.TargetBlank', true);
 }
コード例 #4
0
 public function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.SafeScripting', array('http://localhost/foo.js'));
 }
コード例 #5
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.DefinitionID', 'HTMLPurifier_HTMLModule_SafeObjectTest');
     $this->config->set('HTML.SafeObject', true);
 }
コード例 #6
0
ファイル: FormsTest.php プロジェクト: diandianxiyu/Yii2Api
 public function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Trusted', true);
     $this->config->set('Attr.EnableID', true);
 }
コード例 #7
0
ファイル: NameTest.php プロジェクト: Jaaviieer/PrograWeb
 public function setUp()
 {
     parent::setUp();
 }
コード例 #8
0
ファイル: NofollowTest.php プロジェクト: tomVertuoz/framework
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Nofollow', true);
     $this->config->set('Attr.AllowedRel', array("nofollow", "blah"));
 }
コード例 #9
0
ファイル: NofollowTest.php プロジェクト: u007/FlexiPHP
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Nofollow', true);
 }
コード例 #10
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Trusted', true);
 }
コード例 #11
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Doctype', 'XHTML 1.1');
 }
コード例 #12
0
ファイル: ProprietaryTest.php プロジェクト: sebbie42/casebox
 public function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Proprietary', true);
 }
コード例 #13
0
 function setUp()
 {
     parent::setUp();
     $this->config->set('HTML.Trusted', true);
     $this->config->set('Output.CommentScriptContents', false);
 }
コード例 #14
0
ファイル: SafeEmbedTest.php プロジェクト: Jaaviieer/PrograWeb
 public function setUp()
 {
     parent::setUp();
     $def = $this->config->getHTMLDefinition(true);
     $def->manager->addModule('SafeEmbed');
 }