Fix vertical tab in JSON. (#13399)
'\v' is not injected in JSON anymore
This commit is contained in:
parent
ba25f849a6
commit
006fe4cfc4
1 changed files with 1 additions and 1 deletions
|
|
@ -586,7 +586,7 @@ proc escapeJsonUnquoted*(s: string; result: var string) =
|
|||
of '\b': result.add("\\b")
|
||||
of '\f': result.add("\\f")
|
||||
of '\t': result.add("\\t")
|
||||
of '\v': result.add("\\v")
|
||||
of '\v': result.add("\\u000b")
|
||||
of '\r': result.add("\\r")
|
||||
of '"': result.add("\\\"")
|
||||
of '\0'..'\7': result.add("\\u000" & $ord(c))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue