summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2014-09-10 00:09:59 +0100
committerDominik Picheta <dominikpicheta@googlemail.com>2014-09-10 00:09:59 +0100
commit4d2ff282f625efa0607b30b448cf0909799bf18b (patch)
tree178c99ebaed940ec851b96c2bd69468531ea7954
parent6cc443712b65a4865ee0d4e4a28d22a947c7d77e (diff)
downloadNim-4d2ff282f625efa0607b30b448cf0909799bf18b.tar.gz
Fix case issues in compiler/docgen.
-rw-r--r--compiler/docgen.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/docgen.nim b/compiler/docgen.nim
index 4e576867b..c34332b57 100644
--- a/compiler/docgen.nim
+++ b/compiler/docgen.nim
@@ -374,11 +374,11 @@ proc genItem(d: PDoc, n, nameNode: PNode, k: TSymKind) =
     cleanPlainSymbol = renderPlainSymbolName(nameNode)
     complexSymbol = complexName(k, n, cleanPlainSymbol)
     plainSymbolRope = toRope(cleanPlainSymbol)
-    plainSymbolEncRope = toRope(URLencode(cleanPlainSymbol))
+    plainSymbolEncRope = toRope(urlEncode(cleanPlainSymbol))
     itemIDRope = toRope(d.id)
     symbolOrId = d.newUniquePlainSymbol(complexSymbol)
     symbolOrIdRope = symbolOrId.toRope
-    symbolOrIdEncRope = URLencode(symbolOrId).toRope
+    symbolOrIdEncRope = urlEncode(symbolOrId).toRope
 
   var seeSrcRope: PRope = nil
   let docItemSeeSrc = getConfigVar("doc.item.seesrc")