diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-01-18 21:29:58 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-01-18 21:29:58 +0100 |
commit | 66212d97547e586a83979f0c75d539f1e3a8839c (patch) | |
tree | 51773a1b7d3fb0f5766dd304e69c28699162f0fd /inc | |
parent | 63211f61be6c6109a6858dc974e91facec45aafd (diff) | |
download | rpg-66212d97547e586a83979f0c75d539f1e3a8839c.tar.gz rpg-66212d97547e586a83979f0c75d539f1e3a8839c.tar.bz2 |
fixed XML encoding for RSS 1.0 image title FS#1307
darcs-hash:20080118202958-7ad00-3bb8db2d93b3a353da153ec1a22b52807f75cb61.gz
Diffstat (limited to 'inc')
-rw-r--r-- | inc/feedcreator.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/feedcreator.class.php b/inc/feedcreator.class.php index ba6b4d389..bf66a568d 100644 --- a/inc/feedcreator.class.php +++ b/inc/feedcreator.class.php @@ -802,7 +802,7 @@ class RSSCreator10 extends FeedCreator { $feed.= " </channel>\n"; if ($this->image!=null) { $feed.= " <image rdf:about=\"".$this->image->url."\">\n"; - $feed.= " <title>".$this->image->title."</title>\n"; + $feed.= " <title>".htmlspecialchars($this->image->title)."</title>\n"; $feed.= " <link>".$this->image->link."</link>\n"; $feed.= " <url>".$this->image->url."</url>\n"; $feed.= " </image>\n"; |