we don't have a htmlpurifier yet ;_;

This commit is contained in:
czaks 2016-05-06 16:07:21 +02:00
parent 95b1e103cb
commit d726eaf195

View File

@ -2745,7 +2745,7 @@ function prettify_textarea($s){
return str_replace("\t", '	', str_replace("\n", '
', 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;