aboutsummaryrefslogtreecommitdiff
path: root/lib/render.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/render.js')
-rw-r--r--lib/render.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/render.js b/lib/render.js
index c470ff2..f3dcfe0 100644
--- a/lib/render.js
+++ b/lib/render.js
@@ -268,7 +268,7 @@ Render.prototype.toUrl = function (href) {
+ (key ? encodeURIComponent('#' + key) : '')
+ (fragment ? '#' + fragment : '')
case '#': return this.opts.base + 'channel/' +
- encodeURIComponent(href.substr(1))
+ encodeURIComponent(href.substr(1).toLowerCase())
case '/': return this.opts.base + href.substr(1)
case '?': return this.opts.base + 'search?q=' + encodeURIComponent(href)
}