Don't skip CDATA section nodes in feeds

This commit is contained in:
Dale Whittaker 2010-03-25 23:01:46 +01:00 committed by Christian Dywan
parent ff63a5f7bd
commit 181d62dc01

View file

@ -21,8 +21,9 @@ feed_get_element_string (FeedParser* fparser)
if (!node->children ||
xmlIsBlankNode (node->children) ||
node->children->type != XML_TEXT_NODE
)
(node->children->type != XML_TEXT_NODE &&
node->children->type != XML_CDATA_SECTION_NODE)
)
{
/* Some servers add required elements with no content,
* create a dummy string to handle it.