fix of #530 - import fail from Poche

This commit is contained in:
Maryana Rozhankivska 2014-03-07 14:52:52 +02:00
parent ded2c63312
commit 042486c511
1 changed files with 1 additions and 0 deletions

View File

@ -377,6 +377,7 @@ class Poche
// clean content from prevent xss attack
$config = HTMLPurifier_Config::createDefault();
$config->set('Cache.SerializerPath', CACHE);
$purifier = new HTMLPurifier($config);
$title = $purifier->purify($title);
$body = $purifier->purify($body);