From 42e5ad4c594851af5c3e88abb6aae0205dc9e66b Mon Sep 17 00:00:00 2001 From: cutls Date: Thu, 1 Apr 2021 17:20:56 +0900 Subject: [PATCH] escape mistake --- app/view/make/make.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/view/make/make.js b/app/view/make/make.js index dda98743..570e7a10 100644 --- a/app/view/make/make.js +++ b/app/view/make/make.js @@ -114,7 +114,7 @@ function main(ver, basefile, pwa, store) { refKey.push(key) let str = target[key] if (pages[i] == 'setting.vue.js') { - str = str.replace(/'/g, '\\') + str = str.replace(/'/g, "\\'") } var regExp = new RegExp('@@' + key + '@@', 'g') source = source.replace(regExp, str)