summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-09-10 22:56:26 +0200
committerAraq <rumpf_a@web.de>2014-09-10 22:56:26 +0200
commit758d8e11d9a4aa1d15572c246e63ed5ea913aad9 (patch)
treeef590cbe882efbf66e3f2539178e1094e819af16 /compiler
parent63c9c2877e48b14f8981366d6e110f913a8b604a (diff)
parent055ed5149fba025f210022acea5a0b31b221b521 (diff)
downloadNim-758d8e11d9a4aa1d15572c246e63ed5ea913aad9.tar.gz
Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak
Diffstat (limited to 'compiler')
-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")