Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Jun 7, 2023
1 parent 65b0271 commit 2e21f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ impl AllTemplates {
handlebars.register_helper("static_path", Box::new(static_path));

handlebars_helper!(markdown_helper: |x: str|
markdown::to_html_with_options(&x, &markdown::Options::gfm())
markdown::to_html_with_options(x, &markdown::Options::gfm())
.unwrap_or_else(|s|s)
);
handlebars.register_helper("markdown", Box::new(markdown_helper));
Expand Down

0 comments on commit 2e21f1e

Please sign in to comment.