Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jplatte committed Feb 27, 2024
1 parent b021412 commit a23bff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/core/src/content.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ fn render(
#[cfg(feature = "markdown")]
if let Some(ProcessContent::MarkdownToHtml) = file_meta.process {
let syntax_highlight_theme = file_meta.syntax_highlight_theme.as_deref();
content = markdown_to_html(&content, &ctx.syntax_highlighter, syntax_highlight_theme)?;
content = markdown_to_html(&content, ctx.syntax_highlighter, syntax_highlight_theme)?;
}

if let Some(template) = template {
Expand Down

0 comments on commit a23bff8

Please sign in to comment.