Commit 497e1ffd authored by Roumen Damianoff's avatar Roumen Damianoff
Browse files

ported fix for #53

parent 86ffacc2
...@@ -133,12 +133,12 @@ class Feed ...@@ -133,12 +133,12 @@ class Feed
foreach($this->items as $k => $v) foreach($this->items as $k => $v)
{ {
$this->items[$k]['title'] = html_entity_decode(strip_tags($this->items[$k]['title'])); $this->items[$k]['title'] = htmlentities(strip_tags($this->items[$k]['title']));
$this->items[$k]['pubdate'] = $this->formatDate($this->items[$k]['pubdate'], $format); $this->items[$k]['pubdate'] = $this->formatDate($this->items[$k]['pubdate'], $format);
} }
$channel = array( $channel = array(
'title' => html_entity_decode(strip_tags($this->title)), 'title' => htmlentities(strip_tags($this->title)),
'description' => $this->description, 'description' => $this->description,
'logo' => $this->logo, 'logo' => $this->logo,
'icon' => $this->icon, 'icon' => $this->icon,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment