[fix] bugs #374 and #376 - encoding in rss

This commit is contained in:
Nicolas Lœuillet 2014-01-03 10:15:05 +01:00
parent 529db4861d
commit 0b57c6825a

View file

@ -951,7 +951,7 @@ class Poche
if (count($entries) > 0) { if (count($entries) > 0) {
foreach ($entries as $entry) { foreach ($entries as $entry) {
$newItem = $feed->createNewItem(); $newItem = $feed->createNewItem();
$newItem->setTitle(htmlentities($entry['title'])); $newItem->setTitle($entry['title']);
$newItem->setLink(Tools::getPocheUrl() . '?view=view&id=' . $entry['id']); $newItem->setLink(Tools::getPocheUrl() . '?view=view&id=' . $entry['id']);
$newItem->setDate(time()); $newItem->setDate(time());
$newItem->setDescription($entry['content']); $newItem->setDescription($entry['content']);