diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/render.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/render.js b/lib/render.js index dbfd673..e6da13c 100644 --- a/lib/render.js +++ b/lib/render.js @@ -222,7 +222,7 @@ Render.prototype.toUrl = function (href) { return this.opts.base + (this.opts.encode_msgids ? encodeURIComponent(href) : href) case '@': - if (!u.isRef(href)) return false + if (!u.isRef(href.replace(/\?.*/, ''))) return false return this.opts.base + href case '&': var parts = href.split('#') |