mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
fix quote replacement
This commit is contained in:
+1
-1
@@ -3540,7 +3540,7 @@ CefSharp.BindObjectAsync(
|
|||||||
];
|
];
|
||||||
var _ = function (str) {
|
var _ = function (str) {
|
||||||
if (/[\x00-\x1f,"]/.test(str) === true) {
|
if (/[\x00-\x1f,"]/.test(str) === true) {
|
||||||
str = `"${str.replace('"', '""')}"`;
|
str = `"${str.replace(/"/g, '""')}"`;
|
||||||
}
|
}
|
||||||
return str;
|
return str;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user