From 69ee901dd0e2605bc9f17d1e8603027a87b25dd0 Mon Sep 17 00:00:00 2001 From: pypy Date: Tue, 29 Sep 2020 20:30:08 +0900 Subject: [PATCH] fix quote replacement --- html/src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/src/app.js b/html/src/app.js index 41fbd73b..4dfb66d2 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -3540,7 +3540,7 @@ CefSharp.BindObjectAsync( ]; var _ = function (str) { if (/[\x00-\x1f,"]/.test(str) === true) { - str = `"${str.replace('"', '""')}"`; + str = `"${str.replace(/"/g, '""')}"`; } return str; };