fixes #3282
This commit is contained in:
parent
63a6bfce71
commit
0f2a37cf1b
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ proc newCData*(cdata: string): XmlNode =
|
||||||
|
|
||||||
proc newEntity*(entity: string): XmlNode =
|
proc newEntity*(entity: string): XmlNode =
|
||||||
## creates a new ``PXmlNode`` of kind ``xnEntity`` with the text `entity`.
|
## creates a new ``PXmlNode`` of kind ``xnEntity`` with the text `entity`.
|
||||||
result = newXmlNode(xnCData)
|
result = newXmlNode(xnEntity)
|
||||||
result.fText = entity
|
result.fText = entity
|
||||||
|
|
||||||
proc text*(n: XmlNode): string {.inline.} =
|
proc text*(n: XmlNode): string {.inline.} =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue