fixes regression in XML parsing

This commit is contained in:
Araq 2015-07-15 17:16:16 +02:00
commit 6e39f75f54

View file

@ -535,6 +535,10 @@ proc parseAttribute(my: var XmlParser) =
pos = lexbase.handleLF(my, pos)
buf = my.buf
pendingSpace = true
of '/':
pos = lexbase.handleRefillChar(my, pos)
buf = my.buf
add(my.b, '/')
else:
if buf[pos] == quote:
inc(pos)