From 311b2807a8e43d1fa34d2ee212661fd3d09f54cd Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Sun, 1 Nov 2020 21:47:44 -0600 Subject: [PATCH] Set content type of blobs to text/html --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index e81c7a9..8cd38a5 100644 --- a/index.html +++ b/index.html @@ -514,7 +514,9 @@ along with this program. If not, see . environment.setProjectData(projectData); const result = await environment.package(); if (!(result.data instanceof Blob)) { - result.data = new Blob([result.data]); + result.data = new Blob([result.data], { + type: 'text/html' + }); } addDownloadLink(result.data, result.filename); } catch (e) {