mirror of https://github.com/zkat/miette.git
fix(json): Don't escape single-quotes, that's not valid json (#180)
This commit is contained in:
parent
714334098a
commit
b193d3c002
|
|
@ -30,7 +30,6 @@ impl fmt::Display for Escape<'_> {
|
||||||
let escape = match c {
|
let escape = match c {
|
||||||
'\\' => Some(r"\\"),
|
'\\' => Some(r"\\"),
|
||||||
'"' => Some(r#"\""#),
|
'"' => Some(r#"\""#),
|
||||||
'\'' => Some(r"\'"),
|
|
||||||
'\r' => Some(r"\r"),
|
'\r' => Some(r"\r"),
|
||||||
'\n' => Some(r"\n"),
|
'\n' => Some(r"\n"),
|
||||||
'\t' => Some(r"\t"),
|
'\t' => Some(r"\t"),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue