diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-06-11 15:44:44 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-06-11 15:44:44 +0100 |
| commit | eb7facff4a57dcf6c6818eeeb47580a83a7cbdcc (patch) | |
| tree | eac83980810e1d11743971a4c26c7687a1313fe5 /lib | |
| parent | f9b2d0c27fa9c3407e24dda32301c4f566af8d26 (diff) | |
Move jump back into last footnote paragraph
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/document-to-html.js | 7 |
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(); } |
