fix: footnotes
This commit is contained in:
parent
5963c2dfd4
commit
705fc670c7
@ -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>"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user