ZF-5645: Zend_Feed_Rss missing cdata for image title
Description
the rss feed has a cdata for header title but not for header image title ;(
--- trunk/lib/vendor/Zend/1_6_2/Zend/Feed/Rss.php (Revision 13622)
+++ trunk/lib/vendor/Zend/1_6_2/Zend/Feed/Rss.php (Arbeitskopie)
@@ -173,7 +173,8 @@
$image = $this->_element->createElement('image');
$url = $this->_element->createElement('url', $array->image);
$image->appendChild($url);
- $imagetitle = $this->_element->createElement('title', $array->title);
+ $imagetitle = $this->_element->createElement('title');
+ $imagetitle->appendChild($this->_element->createCDATASection($array->title));
$image->appendChild($imagetitle);
$imagelink = $this->_element->createElement('link', $array->link);
$image->appendChild($imagelink);
Comments
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-02-01T04:04:03.000+0000
Solved in SVN r13901