|
|
@@ -210,8 +210,8 @@ class FreshRSS_Feed extends Minz_Model {
|
|
|
}
|
|
|
|
|
|
if ($loadDetails) {
|
|
|
- $title = htmlspecialchars(html_only_entity_decode($feed->get_title()), ENT_COMPAT, 'UTF-8');
|
|
|
- $this->_name ($title === null ? $this->url : $title);
|
|
|
+ $title = strtr(html_only_entity_decode($feed->get_title()), array('<' => '<', '>' => '>', '"' => '"')); //HTML to HTML-PRE //ENT_COMPAT except &
|
|
|
+ $this->_name ($title == '' ? $this->url : $title);
|
|
|
|
|
|
$this->_website(html_only_entity_decode($feed->get_link()));
|
|
|
$this->_description(html_only_entity_decode($feed->get_description()));
|