From 52e97a91ec0efa0fe8f50b98bed339a449df233a Mon Sep 17 00:00:00 2001 From: cel Date: Tue, 3 Oct 2017 16:42:22 -1000 Subject: Remove name parameter from URL This allows dillo to cache the image even when the name is changed --- lib/render.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/render.js') diff --git a/lib/render.js b/lib/render.js index a7d02be..df7d378 100644 --- a/lib/render.js +++ b/lib/render.js @@ -26,8 +26,6 @@ MdRenderer.prototype.urltransform = function (href) { MdRenderer.prototype.image = function (ref, title, text) { var href = this.render.imageUrl(ref) - var name = text || title - if (name) href += '?name=' + encodeURIComponent(name) return h('img', { src: href, alt: this.render.getImageAlt(ref, text), -- cgit v1.2.3