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/HTMLPurifier/Node/Comment.php | 36 ------------- .../htmlpurifier/HTMLPurifier/Node/Element.php | 59 ---------------------- .../htmlpurifier/HTMLPurifier/Node/Text.php | 54 -------------------- 3 files changed, 149 deletions(-) delete mode 100644 inc/3rdparty/htmlpurifier/HTMLPurifier/Node/Comment.php delete mode 100644 inc/3rdparty/htmlpurifier/HTMLPurifier/Node/Element.php delete mode 100644 inc/3rdparty/htmlpurifier/HTMLPurifier/Node/Text.php (limited to 'inc/3rdparty/htmlpurifier/HTMLPurifier/Node') diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/Node/Comment.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/Node/Comment.php deleted file mode 100644 index 11f3245d..00000000 --- a/inc/3rdparty/htmlpurifier/HTMLPurifier/Node/Comment.php +++ /dev/null @@ -1,36 +0,0 @@ -data = $data; - $this->line = $line; - $this->col = $col; - } - - public function toTokenPair() { - return array(new HTMLPurifier_Token_Comment($this->data, $this->line, $this->col), null); - } -} diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/Node/Element.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/Node/Element.php deleted file mode 100644 index 7db4d025..00000000 --- a/inc/3rdparty/htmlpurifier/HTMLPurifier/Node/Element.php +++ /dev/null @@ -1,59 +0,0 @@ - form or the form, i.e. - * is it a pair of start/end tokens or an empty token. - * @bool - */ - public $empty = false; - - public $endCol = null, $endLine = null, $endArmor = array(); - - public function __construct($name, $attr = array(), $line = null, $col = null, $armor = array()) { - $this->name = $name; - $this->attr = $attr; - $this->line = $line; - $this->col = $col; - $this->armor = $armor; - } - - public function toTokenPair() { - // XXX inefficiency here, normalization is not necessary - if ($this->empty) { - return array(new HTMLPurifier_Token_Empty($this->name, $this->attr, $this->line, $this->col, $this->armor), null); - } else { - $start = new HTMLPurifier_Token_Start($this->name, $this->attr, $this->line, $this->col, $this->armor); - $end = new HTMLPurifier_Token_End($this->name, array(), $this->endLine, $this->endCol, $this->endArmor); - //$end->start = $start; - return array($start, $end); - } - } -} - diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/Node/Text.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/Node/Text.php deleted file mode 100644 index f51d861a..00000000 --- a/inc/3rdparty/htmlpurifier/HTMLPurifier/Node/Text.php +++ /dev/null @@ -1,54 +0,0 @@ -data = $data; - $this->is_whitespace = $is_whitespace; - $this->line = $line; - $this->col = $col; - } - - public function toTokenPair() { - return array(new HTMLPurifier_Token_Text($this->data, $this->line, $this->col), null); - } -} - -// vim: et sw=4 sts=4 -- cgit v1.2.3