aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/filter-xml.c')
-rw-r--r--filter/filter-xml.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/filter/filter-xml.c b/filter/filter-xml.c
index ada718778e..1979ab76f7 100644
--- a/filter/filter-xml.c
+++ b/filter/filter-xml.c
@@ -342,8 +342,7 @@ write_description(xmlDocPtr doc, GList *descl)
desc = descl->data;
d = xmlNewDocNode(doc, NULL, "description", NULL);
- if (desc->type == FILTER_XML_TEXT)
- xmlNodeSetContent(d, desc->data);
+ xmlNodeSetContent(d, desc->data);
return d;
}