mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-20 07:51:32 +00:00
Create entity nodes with xmlparser
This commit is contained in:
@@ -96,7 +96,7 @@ proc parse(x: var XmlParser, errors: var seq[string]): XmlNode =
|
||||
next(x)
|
||||
of xmlEntity:
|
||||
## &entity;
|
||||
errors.add(errorMsg(x, "unknown entity: " & x.entityName))
|
||||
result = newEntity(x.entityName)
|
||||
next(x)
|
||||
of xmlEof: discard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user