mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
Removed UTF-8 BOM in download function
This commit is contained in:
parent
f27fc90a74
commit
5a212b9335
3 changed files with 5 additions and 5 deletions
|
@ -325,7 +325,7 @@ $(".ui-save-history").click(() => {
|
|||
const blob = new Blob([history], {
|
||||
type: "application/json;charset=utf-8"
|
||||
});
|
||||
saveAs(blob, `hackmd_history_${moment().format('YYYYMMDDHHmmss')}`);
|
||||
saveAs(blob, `hackmd_history_${moment().format('YYYYMMDDHHmmss')}`, true);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue