diff options
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 2762484..7e24d29 100644 --- a/lib/render.js +++ b/lib/render.js @@ -25,7 +25,7 @@ MdRenderer.prototype.urltransform = function (href) { MdRenderer.prototype.image = function (href, title, text) { href = this.render.imageUrl(href) - var name = title || text + var name = text || title if (name) href += '?name=' + encodeURIComponent(name) return h('img', { src: href, |