1
0
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:
Elisabeth Henry 2016-12-30 22:38:13 +01:00
parent 32f257a720
commit 29acddfaf2

View File

@ -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,