mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 05:50:30 +00:00
fixes #3282
This commit is contained in:
@@ -65,7 +65,7 @@ proc newCData*(cdata: string): XmlNode =
|
||||
|
||||
proc newEntity*(entity: string): XmlNode =
|
||||
## creates a new ``PXmlNode`` of kind ``xnEntity`` with the text `entity`.
|
||||
result = newXmlNode(xnCData)
|
||||
result = newXmlNode(xnEntity)
|
||||
result.fText = entity
|
||||
|
||||
proc text*(n: XmlNode): string {.inline.} =
|
||||
|
||||
Reference in New Issue
Block a user