summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/taglist/pluma-taglist-plugin-parser.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/taglist/pluma-taglist-plugin-parser.c b/plugins/taglist/pluma-taglist-plugin-parser.c
index 75c06f39..6f18dbc5 100644
--- a/plugins/taglist/pluma-taglist-plugin-parser.c
+++ b/plugins/taglist/pluma-taglist-plugin-parser.c
@@ -120,6 +120,11 @@ parse_tag_group (TagGroup *tg, const gchar* fn, xmlDocPtr doc,
while (cur != NULL)
{
+ if (xmlStrcmp (cur->name, (const xmlChar *) "comment") == 0)
+ {
+ cur = cur->next;
+ }
+
if ((xmlStrcmp (cur->name, (const xmlChar *) "Tag")) || (cur->ns != ns))
{
g_warning ("The tag list file '%s' is of the wrong type, "