A free, self-hostable news aggregator…
Do not perform double HTML-encoding
Alexandre Alapetite742854ffb437
diff --git a/app/models/Feed.php b/app/models/Feed.phpindex 678809af6..563c60e6c 100644--- a/app/models/Feed.php+++ b/app/models/Feed.php@@ -216,7 +216,7 @@ class Feed extends Model {foreach ($feed->get_items () as $item) {$title = $item->get_title ();$title = preg_replace('#<a(.+)>(.+)</a>#', '\\2', $title);- $title = htmlentities($title);+ //$title = htmlentities($title, ENT_NOQUOTES, 'UTF-8'); //Do not do double html-encoding (debug needed)$author = $item->get_author ();$link = $item->get_permalink ();$date = strtotime ($item->get_date ());