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)
|
||||
buf = my.buf
|
||||
pendingSpace = true
|
||||
of '/':
|
||||
pos = lexbase.handleRefillChar(my, pos)
|
||||
buf = my.buf
|
||||
add(my.b, '/')
|
||||
else:
|
||||
if buf[pos] == quote:
|
||||
inc(pos)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue