Fix PHP and JS codegen to not escape single quotes in strings anymore.
This commit is contained in:
parent
1073f9ec5a
commit
fcc6daf78b
1 changed files with 0 additions and 1 deletions
|
|
@ -211,7 +211,6 @@ proc escapeJSString(s: string): string =
|
|||
of '\e': result.add("\\e")
|
||||
of '\v': result.add("\\v")
|
||||
of '\\': result.add("\\\\")
|
||||
of '\'': result.add("\\'")
|
||||
of '\"': result.add("\\\"")
|
||||
else: add(result, c)
|
||||
result.add("\"")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue