diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/render.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/render.js b/lib/render.js index fa4359c..0cc96c6 100644 --- a/lib/render.js +++ b/lib/render.js @@ -108,6 +108,7 @@ Render.prototype.toUrl = function (href) { case '&': return this.opts.blob_base + href case '#': return this.opts.base + encodeURIComponent(href) case '/': return this.opts.base + href.substr(1) + case '?': return this.opts.base + 'search?q=' + encodeURIComponent(href) } var m = /^blobstore:(.*)/.exec(href) if (m) return this.opts.blob_base + m[1] |