diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-24 23:39:40 +0000 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-24 23:39:40 +0000 |
commit | e18e659ca3b40ade283f51c91a263507d7c6694e (patch) | |
tree | e2852ba5c01d4125e802dd6fd5c66980b0b7d114 /extlib/HTMLPurifier/HTMLPurifier/AttrDef/Text.php | |
parent | 93507a192755494417eb0433edd315880752c857 (diff) |
Drop HTMLPurifier; we don't need its extra capabilities and we're already using htmLawed which is lighter-weight.
Diffstat (limited to 'extlib/HTMLPurifier/HTMLPurifier/AttrDef/Text.php')
-rw-r--r-- | extlib/HTMLPurifier/HTMLPurifier/AttrDef/Text.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/extlib/HTMLPurifier/HTMLPurifier/AttrDef/Text.php b/extlib/HTMLPurifier/HTMLPurifier/AttrDef/Text.php deleted file mode 100644 index c6216cc53..000000000 --- a/extlib/HTMLPurifier/HTMLPurifier/AttrDef/Text.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php - -/** - * Validates arbitrary text according to the HTML spec. - */ -class HTMLPurifier_AttrDef_Text extends HTMLPurifier_AttrDef -{ - - public function validate($string, $config, $context) { - return $this->parseCDATA($string); - } - -} - -// vim: et sw=4 sts=4 |