fix: footnotes

This commit is contained in:
thek4n 2026-07-15 11:14:48 +03:00
parent 5963c2dfd4
commit 705fc670c7

View File

@ -351,7 +351,7 @@ pub fn markdown_to_html(markdown: &str, _file_path: &str) -> String {
Event::FootnoteReference(fref) => { Event::FootnoteReference(fref) => {
let _ = write!( let _ = write!(
html_output, html_output,
"<sup><a href=\"#{fref}\" id=\"{fref}\"></a></sup>" "<sup><a href=\"#{fref}\" id=\"{fref}\">{fref}</a></sup>"
); );
} }