aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xinc/poche/Poche.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index fb4e1a7f..13492506 100755
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -377,6 +377,7 @@ class Poche
377 377
378 // clean content from prevent xss attack 378 // clean content from prevent xss attack
379 $config = HTMLPurifier_Config::createDefault(); 379 $config = HTMLPurifier_Config::createDefault();
380 $config->set('Cache.SerializerPath', CACHE);
380 $purifier = new HTMLPurifier($config); 381 $purifier = new HTMLPurifier($config);
381 $title = $purifier->purify($title); 382 $title = $purifier->purify($title);
382 $body = $purifier->purify($body); 383 $body = $purifier->purify($body);