Commit 8645a4104b55d6f5da7630a10a0a7bb4cb736771
1 parent
d24bf608
[+] add double quotes in escaped char
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
web/js_tools.anubis
| ... | ... | @@ -21,6 +21,7 @@ define List(Word8) |
| 21 | 21 | [h . t] then |
| 22 | 22 | make_js_string(t, |
| 23 | 23 | if h = '\'' then [ h, '\\' . so_far] //single quote |
| 24 | + else if h = '\"' then [ h, '\\' . so_far] | |
| 24 | 25 | else if h = '\r' then ['r', '\\' . so_far] //CR |
| 25 | 26 | else if h = '\n' then ['n', '\\' . so_far] //LF |
| 26 | 27 | else if h = '\t' then ['t', '\\' . so_far] //tab | ... | ... |