aboutsummaryrefslogtreecommitdiff
path: root/lib/render.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/render.js')
-rw-r--r--lib/render.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/render.js b/lib/render.js
index 045cf86..dbfd673 100644
--- a/lib/render.js
+++ b/lib/render.js
@@ -179,7 +179,7 @@ Render.prototype.imageUrl = function (ref) {
Render.prototype.getImageAlt = function (id, fallback) {
var link = this._mentionsByLink[id]
if (!link) return fallback
- var name = link.name || fallback
+ var name = u.unescapeHTML(link.name || fallback)
return name
+ (link.size != null ? ' (' + this.formatSize(link.size) + ')' : '')
}