aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-06-11 15:44:44 +0100
committerMichael Williamson <mike@zwobble.org>2014-06-11 15:44:44 +0100
commiteb7facff4a57dcf6c6818eeeb47580a83a7cbdcc (patch)
treeeac83980810e1d11743971a4c26c7687a1313fe5 /lib
parentf9b2d0c27fa9c3407e24dda32301c4f566af8d26 (diff)
Move jump back into last footnote paragraph
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();
}