diff options
| -rw-r--r-- | compiler/utils/Json.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/utils/Json.hs b/compiler/utils/Json.hs index 1318ce2611..ffbff50641 100644 --- a/compiler/utils/Json.hs +++ b/compiler/utils/Json.hs @@ -39,7 +39,7 @@ escapeJsonString = concatMap escapeChar escapeChar '\n' = "\\n" escapeChar '\r' = "\\r" escapeChar '\t' = "\\t" - escapeChar '"' = "\"" + escapeChar '"' = "\\\"" escapeChar '\\' = "\\\\" escapeChar c | isControl c || fromEnum c >= 0x7f = uni_esc c escapeChar c = [c] |
