Browse Source

we don't have a htmlpurifier yet ;_;

pull/40/head
czaks 8 years ago
parent
commit
d726eaf195
  1. 4
      inc/functions.php

4
inc/functions.php

@ -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;

Loading…
Cancel
Save