diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-18 20:07:46 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-18 20:07:46 +0100 |
commit | adf17b677edeb2387671f6a0f12123e7497b5938 (patch) | |
tree | 8fd87d7bf5699488ffc12afa991011e80ac1011b /inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/Name.php | |
parent | 894cd087f41d605f2f093aaad1300825f705e009 (diff) | |
download | wallabag-adf17b677edeb2387671f6a0f12123e7497b5938.tar.gz wallabag-adf17b677edeb2387671f6a0f12123e7497b5938.tar.zst wallabag-adf17b677edeb2387671f6a0f12123e7497b5938.zip |
remove 3rd libraries
Diffstat (limited to 'inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/Name.php')
-rw-r--r-- | inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/Name.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/Name.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/Name.php deleted file mode 100644 index 315e22a8..00000000 --- a/inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/Name.php +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | <?php | ||
2 | |||
3 | class HTMLPurifier_HTMLModule_Name extends HTMLPurifier_HTMLModule | ||
4 | { | ||
5 | /** | ||
6 | * @type string | ||
7 | */ | ||
8 | public $name = 'Name'; | ||
9 | |||
10 | /** | ||
11 | * @param HTMLPurifier_Config $config | ||
12 | */ | ||
13 | public function setup($config) | ||
14 | { | ||
15 | $elements = array('a', 'applet', 'form', 'frame', 'iframe', 'img', 'map'); | ||
16 | foreach ($elements as $name) { | ||
17 | $element = $this->addBlankElement($name); | ||
18 | $element->attr['name'] = 'CDATA'; | ||
19 | if (!$config->get('HTML.Attr.Name.UseCDATA')) { | ||
20 | $element->attr_transform_post[] = new HTMLPurifier_AttrTransform_NameSync(); | ||
21 | } | ||
22 | } | ||
23 | } | ||
24 | } | ||
25 | |||
26 | // vim: et sw=4 sts=4 | ||