diff --git a/web/json.anubis b/web/json.anubis index 0164142..ded83ab 100644 --- a/web/json.anubis +++ b/web/json.anubis @@ -270,7 +270,7 @@ public define Printable_tree json_array(values) then [ "[", format_json_array(values), "]" . [] ], json_int(i) then int_pt(i, []), json_float(f, p) then str_pt(float_to_string(f, p), []), - json_string(s) then str_pt(format_json_esc(s), []), + json_string(s) then if s ="" then str_pt("\"\"", []) else str_pt(format_json_esc(s), []), json_bool(b) then str_pt(if b then "true" else "false", []), json_null then str_pt("null", []) }. -- libgit2 0.21.4