Don't skip CDATA section nodes in feeds
This commit is contained in:
parent
ff63a5f7bd
commit
181d62dc01
1 changed files with 3 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue