mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 01:44:37 +00:00
Fix vertical tab in JSON. (#13399)
'\v' is not injected in JSON anymore
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user