disabled auto escaping

This commit is contained in:
Leonard Lorenz 2020-10-23 22:41:28 +02:00
parent c196a882d5
commit 9c6a20d2b8

View file

@ -27,7 +27,7 @@ async fn blog() -> impl Responder {
.unwrap_or_else(|e| panic!("Error, couldn't load blog template.\n{}", e))
.as_str()),
&context,
true,
false,
)
.unwrap_or_else(|e| panic!("Error, couldn't render blog template.\n{}", e));
HttpResponse::Ok().content_type("text/html").body(result)