mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-24 01:51:01 +00:00
Merge branch 'dev' of https://github.com/wallabag/wallabag into dev
This commit is contained in:
commit
b3f7b7d200
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue