We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95900c9 commit 05189caCopy full SHA for 05189ca
src/src/util/typerenderer.js
@@ -356,7 +356,7 @@ define([
356
var title = options && options.title;
357
title = title || 'Download resource';
358
359
- $element.html(`<a download title="${title}" href="${value}">⤵</a>`);
+ $element.html(`<a download${options.filename ? ('=' + options.filename): ''} title="${title}" href="${value}">⤵</a>`);
360
};
361
362
functions.openlink = {};
0 commit comments