PATH:
home
/
lab2454c
/
healthvalidate.com
/
vendor
/
ezyang
/
htmlpurifier
/
library
/
HTMLPurifier
/
HTMLModule
<?php class HTMLPurifier_HTMLModule_Name extends HTMLPurifier_HTMLModule { /** * @type string */ public $name = 'Name'; /** * @param HTMLPurifier_Config $config */ public function setup($config) { $elements = array('a', 'applet', 'form', 'frame', 'iframe', 'img', 'map'); foreach ($elements as $name) { $element = $this->addBlankElement($name); $element->attr['name'] = 'CDATA'; if (!$config->get('HTML.Attr.Name.UseCDATA')) { $element->attr_transform_post[] = new HTMLPurifier_AttrTransform_NameSync(); } } } } // vim: et sw=4 sts=4
[-] Tidy.php
[edit]
[-] Forms.php
[edit]
[-] TargetNoreferrer.php
[edit]
[-] Edit.php
[edit]
[-] StyleAttribute.php
[edit]
[-] Ruby.php
[edit]
[+]
..
[-] XMLCommonAttributes.php
[edit]
[-] Target.php
[edit]
[-] Bdo.php
[edit]
[-] Hypertext.php
[edit]
[-] CommonAttributes.php
[edit]
[-] Proprietary.php
[edit]
[-] Image.php
[edit]
[-] Name.php
[edit]
[-] Scripting.php
[edit]
[-] TargetNoopener.php
[edit]
[-] Tables.php
[edit]
[-] List.php
[edit]
[-] SafeEmbed.php
[edit]
[-] SafeObject.php
[edit]
[-] Object.php
[edit]
[-] Text.php
[edit]
[+]
Tidy
[-] Iframe.php
[edit]
[-] Legacy.php
[edit]
[-] SafeScripting.php
[edit]
[-] TargetBlank.php
[edit]
[-] Presentation.php
[edit]
[-] Nofollow.php
[edit]
[-] NonXMLCommonAttributes.php
[edit]