summaryrefslogtreecommitdiffstats
path: root/utility
diff options
context:
space:
mode:
Diffstat (limited to 'utility')
-rw-r--r--utility/feedfetcher.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/utility/feedfetcher.php b/utility/feedfetcher.php
index 0fea5d1b7..6f34df2d9 100644
--- a/utility/feedfetcher.php
+++ b/utility/feedfetcher.php
@@ -111,7 +111,7 @@ class FeedFetcher implements IFeedFetcher {
$item->setUrl($simplePieItem->get_permalink());
// unescape content because angularjs helps agains XSS
$item->setTitle(html_entity_decode($simplePieItem->get_title()),
- ENT_XML1 | ENT_COMPAT, 'UTF-8' );
+ ENT_COMPAT, 'UTF-8' );
$guid = $simplePieItem->get_id();
$item->setGuid($guid);
$item->setGuidHash(md5($guid));
@@ -122,12 +122,12 @@ class FeedFetcher implements IFeedFetcher {
$author = $simplePieItem->get_author();
if ($author !== null) {
$name = html_entity_decode($author->get_name(),
- ENT_XML1 | ENT_COMPAT, 'UTF-8' );
+ ENT_COMPAT, 'UTF-8' );
if ($name) {
$item->setAuthor($name);
} else {
$item->setAuthor(html_entity_decode($author->get_email()),
- ENT_XML1 | ENT_COMPAT, 'UTF-8' );
+ ENT_COMPAT, 'UTF-8' );
}
}
@@ -150,7 +150,7 @@ class FeedFetcher implements IFeedFetcher {
// unescape content because angularjs helps agains XSS
$title = html_entity_decode($simplePieFeed->get_title(),
- ENT_XML1 | ENT_COMPAT, 'UTF-8' );
+ ENT_COMPAT, 'UTF-8' );
// if there is no title use the url
if(!$title) {