From 006fe4cfc4b07b7a2eac4cdfeacf7501667a3200 Mon Sep 17 00:00:00 2001 From: Khronos <39792509+Khronos31@users.noreply.github.com> Date: Mon, 17 Feb 2020 08:39:19 +0900 Subject: [PATCH] Fix vertical tab in JSON. (#13399) '\v' is not injected in JSON anymore --- lib/pure/json.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/json.nim b/lib/pure/json.nim index 319a7b7ffe..cb02eb83cd 100644 --- a/lib/pure/json.nim +++ b/lib/pure/json.nim @@ -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))