mirror of
https://github.com/lise-henry/crowbook
synced 2024-09-26 04:40:53 +02:00
Add [] to footnote numbers in epub
This commit is contained in:
parent
32f257a720
commit
29acddfaf2
@ -622,7 +622,7 @@ impl<'a> EpubRenderer<'a> {
|
||||
html.add_footnote(note_number, inner);
|
||||
|
||||
Ok(format!("<a {} href = \"#note-dest-{}\"><sup id = \
|
||||
\"note-source-{}\">{}</sup></a>",
|
||||
\"note-source-{}\">[{}]</sup></a>",
|
||||
if epub3 { "epub:type = \"noteref\"" } else { "" },
|
||||
number,
|
||||
number,
|
||||
|
Loading…
Reference in New Issue
Block a user