Fix PHP and JS codegen to not escape single quotes in strings anymore.

This commit is contained in:
Hans Raaf
2016-03-14 21:33:14 +01:00
parent 1073f9ec5a
commit fcc6daf78b

View File

@@ -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("\"")