Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.0
-
None
-
Operating System: OS X
PHP Version: 5.2.4
Browser (and version): Firefox/Safari
Description
I'm having somr trouble with the ezrssfeed extension, rss items are returned with empty titles when the title contains a CDATA tag. Seems to me eZDOMNode#collectTextContent should return the text in cdata tags, but as far as I can tell they're just ignored:
function collectTextContent( $element )
{
$ret = '';
if ( $element->Type == eZDOMNode::TYPE_TEXT ) // <----- Shouldn't this include CDATA?
else
{
if ( count( $element->Children ) > 0 )
{
foreach( array_keys( $element->Children ) as $key )
}
}
return $ret;
}
Attachments
Issue Links
- relates to
-
EZP-14547 3.10.1 - RSS Import CData Element
- Closed