Skip to content

Commit 2c615c0

Browse files
authored
Merge pull request #36 from arduino/bugfix/escape-character
Fix character escaping
2 parents d63e565 + 9e91e8c commit 2c615c0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: micropython.js

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ function sleep(millis) {
1212
}
1313

1414
function escape_string(string) {
15-
string = string.replace(/"""/g, `\\"\\"\\"`)
1615
string = string.replace(/\'/g, `\\'`)
1716
string = string.replace(/\"/g, `\\"`)
1817
return string

0 commit comments

Comments
 (0)