aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-25 18:50:05 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-25 18:50:05 +0100
commit0b3d79745d7b8db5dc684f91e0bbad6c1a03d0ee (patch)
treefbcf28d6fd8da06ed2ced002098c0f04ec930c3a /app/Models/Feed.php
parentc2375265c040da5b71c4acf2871f5479fab3044c (diff)
Encodage titre flux pour cas Glazman
Diffstat (limited to 'app/Models/Feed.php')
-rw-r--r--app/Models/Feed.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index ef554e083..dcf97d4ec 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -250,11 +250,11 @@ class FreshRSS_Feed extends Minz_Model {
$this->_url ($subscribe_url);
}
- $title = $feed->get_title ();
+ $title = htmlspecialchars(html_only_entity_decode($feed->get_title()), ENT_COMPAT, 'UTF-8');
$this->_name (!is_null ($title) ? $title : $this->url);
- $this->_website ($feed->get_link ());
- $this->_description ($feed->get_description ());
+ $this->_website(html_only_entity_decode($feed->get_link()));
+ $this->_description(html_only_entity_decode($feed->get_description()));
// et on charge les articles du flux
$this->loadEntries ($feed);