We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a268b24 commit 1e827f8Copy full SHA for 1e827f8
json-to-go.test.js
@@ -4,6 +4,7 @@ function quote(str) {
4
return "'" + str
5
.replace(/\t/g, "\\t")
6
.replace(/\n/g, "\\n")
7
+ .replace(/\r/g, "\\r")
8
.replace(/'/g, "\\'") + "'"
9
}
10
0 commit comments