fix quote replacement

This commit is contained in:
pypy
2020-09-29 20:30:08 +09:00
parent 4a35062c6a
commit 69ee901dd0

View File

@@ -3540,7 +3540,7 @@ CefSharp.BindObjectAsync(
];
var _ = function (str) {
if (/[\x00-\x1f,"]/.test(str) === true) {
str = `"${str.replace('"', '""')}"`;
str = `"${str.replace(/"/g, '""')}"`;
}
return str;
};