diff --git a/server/src/graphql.rs b/server/src/graphql.rs index 39a4af2..ce0f7bb 100644 --- a/server/src/graphql.rs +++ b/server/src/graphql.rs @@ -242,7 +242,9 @@ impl Body { match self { Body::Html(h) => Some(h.html.clone()), Body::PlainText(p) => Some(format!("
{}", html_escape::encode_text(&p.text))),
- Body::UnhandledContentType(u) => Some(format!("{}", html_escape::encode_text(&u.text))),
+ Body::UnhandledContentType(u) => {
+ Some(format!("{}", html_escape::encode_text(&u.text)))
+ }
}
}