aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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', {