This commit is contained in:
Araq
2015-09-05 10:08:55 +02:00
parent 63a6bfce71
commit 0f2a37cf1b

View File

@@ -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.} =