aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Poche.class.php
diff options
context:
space:
mode:
authorMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-03-07 14:52:52 +0200
committerMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-03-07 14:52:52 +0200
commit042486c511d07226715c2e0d7cd9823f591d8d10 (patch)
tree070f9cb9ef99a13893ac7ba0fc3fd23880733841 /inc/poche/Poche.class.php
parentded2c63312c32c85f386d6cd8cd7085d8a9407e9 (diff)
downloadwallabag-042486c511d07226715c2e0d7cd9823f591d8d10.tar.gz
wallabag-042486c511d07226715c2e0d7cd9823f591d8d10.tar.zst
wallabag-042486c511d07226715c2e0d7cd9823f591d8d10.zip
fix of #530 - import fail from Poche
Diffstat (limited to 'inc/poche/Poche.class.php')
-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);