Create entity nodes with xmlparser
This commit is contained in:
parent
f3814be530
commit
097c508897
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ proc parse(x: var XmlParser, errors: var seq[string]): XmlNode =
|
||||||
next(x)
|
next(x)
|
||||||
of xmlEntity:
|
of xmlEntity:
|
||||||
## &entity;
|
## &entity;
|
||||||
errors.add(errorMsg(x, "unknown entity: " & x.entityName))
|
result = newEntity(x.entityName)
|
||||||
next(x)
|
next(x)
|
||||||
of xmlEof: discard
|
of xmlEof: discard
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue