Skip to content

Commit

Permalink
fix(json): Don't escape single-quotes, that's not valid json (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gankra authored Jun 24, 2022
1 parent 7143340 commit b193d3c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/handlers/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ impl fmt::Display for Escape<'_> {
let escape = match c {
'\\' => Some(r"\\"),
'"' => Some(r#"\""#),
'\'' => Some(r"\'"),
'\r' => Some(r"\r"),
'\n' => Some(r"\n"),
'\t' => Some(r"\t"),
Expand Down

0 comments on commit b193d3c

Please sign in to comment.