diff options
Diffstat (limited to 'lib/htmlpurifier/library/HTMLPurifier/HTMLModule/Name.php')
-rw-r--r-- | lib/htmlpurifier/library/HTMLPurifier/HTMLModule/Name.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/htmlpurifier/library/HTMLPurifier/HTMLModule/Name.php b/lib/htmlpurifier/library/HTMLPurifier/HTMLModule/Name.php deleted file mode 100644 index 05694b450..000000000 --- a/lib/htmlpurifier/library/HTMLPurifier/HTMLModule/Name.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class HTMLPurifier_HTMLModule_Name extends HTMLPurifier_HTMLModule -{ - - public $name = 'Name'; - - 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['NameSync'] = new HTMLPurifier_AttrTransform_NameSync(); - } - } - } - -} - -// vim: et sw=4 sts=4 |