aboutsummaryrefslogtreecommitdiff
path: root/lib/xmltree.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xmltree.c')
-rw-r--r--lib/xmltree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/xmltree.c b/lib/xmltree.c
index e5d4772..6431d28 100644
--- a/lib/xmltree.c
+++ b/lib/xmltree.c
@@ -164,7 +164,8 @@ eclat_partial_tree_end_handler(void *data, const XML_Char *name)
}
}
noderef->flags &= ~NODEREF_TEXT;
- }
+ } else if (node->type == (enum grecs_node_type)-1)
+ node->type = grecs_node_block;
if (!tos)
grecs_list_push(noderef->stack, node);

Return to:

Send suggestions and report system problems to the System administrator.