fixes #1518
This commit is contained in:
parent
db6b2bf1c7
commit
50d593787f
2 changed files with 20 additions and 15 deletions
|
|
@ -164,3 +164,6 @@ when isMainModule:
|
|||
var xml = loadXml(filePath, errors)
|
||||
assert(errors.len == 0, "The file tests/testdata/doc1.xml should be parsed without errors.")
|
||||
|
||||
block bug1518:
|
||||
var err: seq[string] = @[]
|
||||
assert $parsexml(newStringStream"<tag>One & two</tag>", "temp.xml", err) == "<tag>One & two</tag>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue