aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-05-04 09:03:47 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-05-04 09:03:47 -1000
commit69c833a059339473969a2e3d35c5f42e4a93bbfd (patch)
tree934fe32bd04dc11fca2d8cdeb9e139c583b68057 /lib
parente777f7293ea8d8d076203d8281a31daa3a084a8c (diff)
downloadpatchfoo-69c833a059339473969a2e3d35c5f42e4a93bbfd.tar.gz
patchfoo-69c833a059339473969a2e3d35c5f42e4a93bbfd.zip
Fix image rendering
Diffstat (limited to 'lib')
-rw-r--r--lib/render.js2
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', {