summary refs log tree commit diff stats
path: root/lib/pure/htmlgen.nim
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-04-12 13:54:49 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-04-12 13:54:49 +0200
commit84982e5e1787d0b3c36ae185c5c75f7764543054 (patch)
treebe5d68b88775d4d717bf55981009762e37bba553 /lib/pure/htmlgen.nim
parent19aad4f54748a18d9319c0939dbc43bfb9d2d951 (diff)
downloadNim-84982e5e1787d0b3c36ae185c5c75f7764543054.tar.gz
fix deprecation warnings in asyncmacro and htmlgen (#7573)
* fix deprecation warnings in asyncmacro and htmlgen

* removed todo
Diffstat (limited to 'lib/pure/htmlgen.nim')
-rw-r--r--lib/pure/htmlgen.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pure/htmlgen.nim b/lib/pure/htmlgen.nim
index e7562029a..55b02ea60 100644
--- a/lib/pure/htmlgen.nim
+++ b/lib/pure/htmlgen.nim
@@ -38,7 +38,8 @@ const
 
 proc getIdent(e: NimNode): string {.compileTime.} =
   case e.kind
-  of nnkIdent: result = normalize($e.ident)
+  of nnkIdent:
+    result = e.strVal.normalize
   of nnkAccQuoted:
     result = getIdent(e[0])
     for i in 1 .. e.len-1: