fixes regression in XML parsing
This commit is contained in:
parent
6c8e9da9ee
commit
6e39f75f54
1 changed files with 4 additions and 0 deletions
|
|
@ -535,6 +535,10 @@ proc parseAttribute(my: var XmlParser) =
|
||||||
pos = lexbase.handleLF(my, pos)
|
pos = lexbase.handleLF(my, pos)
|
||||||
buf = my.buf
|
buf = my.buf
|
||||||
pendingSpace = true
|
pendingSpace = true
|
||||||
|
of '/':
|
||||||
|
pos = lexbase.handleRefillChar(my, pos)
|
||||||
|
buf = my.buf
|
||||||
|
add(my.b, '/')
|
||||||
else:
|
else:
|
||||||
if buf[pos] == quote:
|
if buf[pos] == quote:
|
||||||
inc(pos)
|
inc(pos)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue