Fix the handling of
elements in Atom 1.0 feeds. liferea made a
classic XML mistake: in most XML interfaces, getting text out of an XML
node automatically reverses XML entity escaping. Stripping XML again does
rude things.
- cks
Index: liferea-1.0.9/src/atom10.c
===================================================================
--- liferea-1.0.9.orig/src/atom10.c
+++ liferea-1.0.9/src/atom10.c
@@ -205,7 +205,7 @@ static gchar* atom10_parse_text_construc
} else if (!strcmp(type, "html")) {
ret = utf8_fix(xmlNodeListGetString(cur->doc, cur->xmlChildrenNode, 1));
if (!htmlified)
- ret = unhtmlize(unxmlize(ret));
+ ret = unhtmlize(ret);
} else if(!strcmp(type, "xhtml")) {
/* The spec says to only show the contents of the div tag that MUST be present */