From 1f165c468822356b7379f04ae20447dcaf79d918 Mon Sep 17 00:00:00 2001 From: cel Date: Thu, 6 Apr 2017 16:34:55 -0700 Subject: Use download property instead of link name field --- lib/render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/render.js b/lib/render.js index 9c37d9c..3a39ccb 100644 --- a/lib/render.js +++ b/lib/render.js @@ -37,12 +37,12 @@ MdRenderer.prototype.image = function (href, title, text) { MdRenderer.prototype.link = function(href, title, text) { href = this.urltransform(href) var name = href && /^\/(&|%26)/.test(href) && (title || text) - if (name) href += '?name=' + encodeURIComponent(name) return '' + text + '' }; -- cgit v1.2.3