From 69c833a059339473969a2e3d35c5f42e4a93bbfd Mon Sep 17 00:00:00 2001 From: cel Date: Thu, 4 May 2017 09:03:47 -1000 Subject: Fix image rendering --- lib/render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/render.js b/lib/render.js index 13d5d13..316ad2f 100644 --- a/lib/render.js +++ b/lib/render.js @@ -24,7 +24,7 @@ MdRenderer.prototype.urltransform = function (href) { } MdRenderer.prototype.image = function (ref, title, text) { - var href = this.render.imageUrl(href) + var href = this.render.imageUrl(ref) var name = text || title if (name) href += '?name=' + encodeURIComponent(name) return h('img', { -- cgit v1.2.3