diff options
Diffstat (limited to 'filter/filter-option.c')
-rw-r--r-- | filter/filter-option.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/filter/filter-option.c b/filter/filter-option.c index a6bcaad8c1..658136f0cb 100644 --- a/filter/filter-option.c +++ b/filter/filter-option.c @@ -175,11 +175,19 @@ xml_create (FilterElement *fe, xmlNodePtr node) while (work) { if (!strcmp (work->name, "title")) { if (!op->title) { - op->title = xmlNodeGetContent (work); + gchar *str, *decstr; + str = xmlNodeGetContent (work); + decstr = e_utf8_xml1_decode (str); + if (str) xmlFree (str); + op->title = decstr; } } else if (!strcmp (work->name, "code")) { if (!op->code) { - op->code = xmlNodeGetContent (work); + gchar *str, *decstr; + str = xmlNodeGetContent (work); + decstr = e_utf8_xml1_decode (str); + if (str) xmlFree (str); + op->code = decstr; } } work = work->next; |