summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/xplist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xplist.c b/src/xplist.c
index 2b8c8f5..6147265 100644
--- a/src/xplist.c
+++ b/src/xplist.c
@@ -336,6 +336,10 @@ static void xml_to_node(xmlNodePtr xml_node, plist_t * plist_node)
if (!node)
break;
+ if (!xmlStrcmp(node->name, BAD_CAST("comment"))) {
+ continue;
+ }
+
data = plist_new_plist_data();
subnode = plist_new_node(data);
if (*plist_node)