From adf17b677edeb2387671f6a0f12123e7497b5938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sun, 18 Jan 2015 20:07:46 +0100 Subject: remove 3rd libraries --- .../HTMLPurifier/AttrTransform/Length.php | 45 ---------------------- 1 file changed, 45 deletions(-) delete mode 100644 inc/3rdparty/htmlpurifier/HTMLPurifier/AttrTransform/Length.php (limited to 'inc/3rdparty/htmlpurifier/HTMLPurifier/AttrTransform/Length.php') diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/AttrTransform/Length.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/AttrTransform/Length.php deleted file mode 100644 index c4bfd976..00000000 --- a/inc/3rdparty/htmlpurifier/HTMLPurifier/AttrTransform/Length.php +++ /dev/null @@ -1,45 +0,0 @@ -name = $name; - $this->cssName = $css_name ? $css_name : $name; - } - - /** - * @param array $attr - * @param HTMLPurifier_Config $config - * @param HTMLPurifier_Context $context - * @return array - */ - public function transform($attr, $config, $context) - { - if (!isset($attr[$this->name])) { - return $attr; - } - $length = $this->confiscateAttr($attr, $this->name); - if (ctype_digit($length)) { - $length .= 'px'; - } - $this->prependCSS($attr, $this->cssName . ":$length;"); - return $attr; - } -} - -// vim: et sw=4 sts=4 -- cgit v1.2.3