We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65b0271 commit 2e21f1eCopy full SHA for 2e21f1e
src/templates.rs
@@ -204,7 +204,7 @@ impl AllTemplates {
204
handlebars.register_helper("static_path", Box::new(static_path));
205
206
handlebars_helper!(markdown_helper: |x: str|
207
- markdown::to_html_with_options(&x, &markdown::Options::gfm())
+ markdown::to_html_with_options(x, &markdown::Options::gfm())
208
.unwrap_or_else(|s|s)
209
);
210
handlebars.register_helper("markdown", Box::new(markdown_helper));
0 commit comments