From acf6f1883b829449cd0883185b301f3e599ecb39 Mon Sep 17 00:00:00 2001 From: Ponkhy Date: Wed, 8 Sep 2021 09:02:24 +0200 Subject: [PATCH] Fixed missing spaces in backup file --- src/pages/Settings.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Settings.vue b/src/pages/Settings.vue index faad4914..79b67e52 100644 --- a/src/pages/Settings.vue +++ b/src/pages/Settings.vue @@ -371,7 +371,7 @@ export default { } exportData = JSON.stringify(exportData); let downloadItem = document.createElement("a"); - downloadItem.setAttribute("href", `data:application/json;charset=utf-8, ${exportData}`); + downloadItem.setAttribute("href", "data:application/json;charset=utf-8," + encodeURI(exportData)); downloadItem.setAttribute("download", fileName); downloadItem.click(); },