diff --git a/src/excel-export.js b/src/excel-export.js index 7b01e18..1e2bb66 100644 --- a/src/excel-export.js +++ b/src/excel-export.js @@ -83,7 +83,7 @@ function buildTableHTML (id, title, subtitle, footnote) { function downloadXLS (html) { const filename = 'analysis.xls'; - const blobObject = new Blob([html]); + const blobObject = new Blob([html], { type: 'application/vnd.ms-excel' }); // IE/Edge if (window.navigator.msSaveOrOpenBlob) {