Merge pull request #533 from mariroz/dev

fix of #530 - import fail from Poche
This commit is contained in:
Nicolas Lœuillet 2014-03-07 13:59:38 +01:00
commit f0d584503f

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