From b22904488d57103e5d774386db5e6e9c2818be48 Mon Sep 17 00:00:00 2001 From: Gambhiro Date: Fri, 8 Nov 2024 05:14:17 +0000 Subject: [PATCH] cargo fmt --- src/renderer/html_handlebars/hbs_renderer.rs | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/renderer/html_handlebars/hbs_renderer.rs b/src/renderer/html_handlebars/hbs_renderer.rs index 5bde489d5c..1ac01094fa 100644 --- a/src/renderer/html_handlebars/hbs_renderer.rs +++ b/src/renderer/html_handlebars/hbs_renderer.rs @@ -54,9 +54,11 @@ impl HtmlHandlebars { .insert("git_repository_edit_url".to_owned(), json!(edit_url)); } - let content = utils::render_markdown(&ch.content, - ctx.html_config.smart_punctuation(), - ctx.html_config.footnote_backrefs); + let content = utils::render_markdown( + &ch.content, + ctx.html_config.smart_punctuation(), + ctx.html_config.footnote_backrefs, + ); let fixed_content = utils::render_markdown_with_path( &ch.content, @@ -170,10 +172,11 @@ impl HtmlHandlebars { .to_string() } }; - let html_content_404 = - utils::render_markdown(&content_404, - html_config.smart_punctuation(), - html_config.footnote_backrefs); + let html_content_404 = utils::render_markdown( + &content_404, + html_config.smart_punctuation(), + html_config.footnote_backrefs, + ); let mut data_404 = data.clone(); let base_url = if let Some(site_url) = &html_config.site_url {