From: Dale Whittaker Date: Thu, 25 Mar 2010 22:01:46 +0000 (+0100) Subject: Don't skip CDATA section nodes in feeds X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=181d62dc0141c74c1e66aba0fa94e5a2b869bad4;p=midori Don't skip CDATA section nodes in feeds --- diff --git a/extensions/feed-panel/feed-parse.c b/extensions/feed-panel/feed-parse.c index 1f4b1614..2eb2bea4 100644 --- a/extensions/feed-panel/feed-parse.c +++ b/extensions/feed-panel/feed-parse.c @@ -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.