diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-05-04 09:03:47 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-05-04 09:03:47 -1000 |
commit | 69c833a059339473969a2e3d35c5f42e4a93bbfd (patch) | |
tree | 934fe32bd04dc11fca2d8cdeb9e139c583b68057 /lib | |
parent | e777f7293ea8d8d076203d8281a31daa3a084a8c (diff) | |
download | patchfoo-69c833a059339473969a2e3d35c5f42e4a93bbfd.tar.gz patchfoo-69c833a059339473969a2e3d35c5f42e4a93bbfd.zip |
Fix image rendering
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 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', { |