summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2014-06-28 15:27:29 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2014-06-28 15:27:29 +0200
commitaf2d105e1e48c593e3536fecbd251671f81ccf9c (patch)
tree1603adfc7748ebe06998e547ae4cd443fd60bd9e
parentbf8859da400feb876100786df9ac339b48589529 (diff)
xml: fix attribute without data:
<input checked /> Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
-rw-r--r--xml.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xml.c b/xml.c
index 74b0f06..e402f8f 100644
--- a/xml.c
+++ b/xml.c
@@ -27,8 +27,7 @@ xmlparser_parseattrs(XMLParser *x) {
if(isspace(c)) { /* TODO: simplify endname ? */
if(namelen)
endname = 1;
- else
- continue;
+ continue;
}
if(c == '?')
; /* ignore */