aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/document-to-html.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js
index faae02b..fe601bd 100644
--- a/lib/document-to-html.js
+++ b/lib/document-to-html.js
@@ -203,12 +203,11 @@ function DocumentConversion(options) {
if (err) {
callback(err);
} else {
+ footnoteHtml.text(" ");
+ footnoteHtml.open(htmlPaths.element("a", {href: "#footnote-ref-" + uid}));
+ footnoteHtml.text("↑");
footnoteHtml.closeAll();
html.append(footnoteHtml);
- html.text(" ");
- html.open(htmlPaths.element("a", {href: "#footnote-ref-" + uid}));
- html.text("↑");
- html.close();
html.close();
callback();
}