From 181d62dc0141c74c1e66aba0fa94e5a2b869bad4 Mon Sep 17 00:00:00 2001 From: Dale Whittaker Date: Thu, 25 Mar 2010 23:01:46 +0100 Subject: [PATCH] Don't skip CDATA section nodes in feeds --- extensions/feed-panel/feed-parse.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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. -- 2.39.5