From 191cfcc5a83993d4ace4c06d5a5d1510b9aca23a Mon Sep 17 00:00:00 2001 From: megazig Date: Tue, 5 May 2009 03:34:03 -0500 Subject: flags closing tag fixed --- xml.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'xml.c') diff --git a/xml.c b/xml.c index 41d3edf..72c0eda 100644 --- a/xml.c +++ b/xml.c @@ -158,8 +158,12 @@ const char *whitespace_cb(mxml_node_t *node, int where) return ("\n\t\t\t\t"); } } - else if (!strcmp(name, "flags") || - !strcmp(name, "ua2") || + else if (!strcmp(name, "flags")) + { + if ((where == MXML_WS_BEFORE_OPEN)) + return ("\n\t\t\t"); + } + else if (!strcmp(name, "ua2") || !strcmp(name, "ua3") || !strcmp(name, "ua4") || !strcmp(name, "ua5") || -- cgit v1.3.1