From 5a212b933548ccc5ef1cd45d8b86d7d86c8f7b9e Mon Sep 17 00:00:00 2001 From: NV Date: Fri, 3 Feb 2017 17:35:16 +0900 Subject: Removed UTF-8 BOM in download function --- public/js/extra.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/js/extra.js') diff --git a/public/js/extra.js b/public/js/extra.js index b651d9e6..a657c311 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -612,7 +612,7 @@ export function exportToRawHTML(view) { const blob = new Blob([html], { type: "text/html;charset=utf-8" }); - saveAs(blob, filename); + saveAs(blob, filename, true); } //extract markdown body to html and compile to template @@ -644,7 +644,7 @@ export function exportToHTML(view) { const blob = new Blob([html], { type: "text/html;charset=utf-8" }); - saveAs(blob, filename); + saveAs(blob, filename, true); }); }); } -- cgit v1.2.3