summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2016-05-06 16:07:21 +0200
committerczaks <marcin@6irc.net>2016-05-06 16:07:21 +0200
commitd726eaf195a18a35c44fe0b08aa0960e4a79e272 (patch)
treec14dfcf306bf3bb1750cf61af9872da4be832c8f
parent95b1e103cb9f349d7d82dca071636d5cde855ead (diff)
we don't have a htmlpurifier yet ;_;
-rwxr-xr-xinc/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 7970d05a..845c4cb3 100755
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -2745,7 +2745,7 @@ function prettify_textarea($s){
return str_replace("\t", '&#09;', str_replace("\n", '&#13;&#10;', htmlentities($s)));
}
-class HTMLPurifier_URIFilter_NoExternalImages extends HTMLPurifier_URIFilter {
+/*class HTMLPurifier_URIFilter_NoExternalImages extends HTMLPurifier_URIFilter {
public $name = 'NoExternalImages';
public function filter(&$uri, $c, $context) {
global $config;
@@ -2761,7 +2761,7 @@ class HTMLPurifier_URIFilter_NoExternalImages extends HTMLPurifier_URIFilter {
return true;
}
-}
+}*/
function purify_html($s) {
global $config;