summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-09-10 23:25:29 +0200
committerAraq <rumpf_a@web.de>2014-09-10 23:25:29 +0200
commit950078003767de36132f179ca00d8c81dbcc162a (patch)
tree8b183c05621213d64978eb1ed87d44b660db71f7 /compiler
parent758d8e11d9a4aa1d15572c246e63ed5ea913aad9 (diff)
downloadNim-950078003767de36132f179ca00d8c81dbcc162a.tar.gz
renamed URLencode to encodeUrl
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 c34332b57..273fcb7f3 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(encodeUrl(cleanPlainSymbol))
     itemIDRope = toRope(d.id)
     symbolOrId = d.newUniquePlainSymbol(complexSymbol)
     symbolOrIdRope = symbolOrId.toRope
-    symbolOrIdEncRope = urlEncode(symbolOrId).toRope
+    symbolOrIdEncRope = encodeUrl(symbolOrId).toRope
 
   var seeSrcRope: PRope = nil
   let docItemSeeSrc = getConfigVar("doc.item.seesrc")