Skip to content

Commit aae91ff

Browse files
author
Dmitry Kuzin (DevExpress)
committed
Merge branch 'master' of https://github.com/surveyjs/widgets
2 parents f9238aa + a2b34d9 commit aae91ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/icheck.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function escValue(val) {
22
if (typeof val === "string") {
3-
return (val || "").replace(/(?!^)(['])(?!$)/g, "\\$1");
3+
return (val || "").replace(/(['])/g, "\\$1");
44
}
55
return val;
66
}

0 commit comments

Comments
 (0)