diff options
author | Araq <rumpf_a@web.de> | 2015-09-05 10:08:55 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-09-05 11:34:36 +0200 |
commit | 0f2a37cf1b64bfa34da0f899a1f76b28665c8c89 (patch) | |
tree | d3d4c16b3baea21cf7a3fade5b4b350c624866f3 /lib/pure/xmltree.nim | |
parent | 63a6bfce7114bd1a0cf488b0a401f043212d6216 (diff) | |
download | Nim-0f2a37cf1b64bfa34da0f899a1f76b28665c8c89.tar.gz |
fixes #3282
Diffstat (limited to 'lib/pure/xmltree.nim')
-rw-r--r-- | lib/pure/xmltree.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/xmltree.nim b/lib/pure/xmltree.nim index bbe3c05b7..4269a3e48 100644 --- a/lib/pure/xmltree.nim +++ b/lib/pure/xmltree.nim @@ -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.} = |