mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-25 12:38:37 -04:00
Bug feed name with special chars
https://github.com/marienfressinaud/FreshRSS/issues/462
This commit is contained in:
1 parent
8fb630821b
commit
5bf511c00f
1 file changed
+2
-2
+2
-2
@@ -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()));
|
||||
|
||||
Reference in new issue
Block a user