remove useless string clone

This commit is contained in:
klensy 2023-12-16 13:29:24 +03:00
parent c1d622e56e
commit 88be4ac417
1 changed files with 1 additions and 2 deletions

View File

@ -54,8 +54,7 @@ impl HtmlHandlebars {
.insert("git_repository_edit_url".to_owned(), json!(edit_url));
}
let content = ch.content.clone();
let content = utils::render_markdown(&content, ctx.html_config.curly_quotes);
let content = utils::render_markdown(&ch.content, ctx.html_config.curly_quotes);
let fixed_content =
utils::render_markdown_with_path(&ch.content, ctx.html_config.curly_quotes, Some(path));