disabled auto escaping
This commit is contained in:
parent
c196a882d5
commit
9c6a20d2b8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue