aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/document-to-html.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js
index 5b8db9a..bec48b0 100644
--- a/lib/document-to-html.js
+++ b/lib/document-to-html.js
@@ -175,7 +175,7 @@ function DocumentConversion(options) {
html.open(htmlPaths.element("sup"));
html.open(htmlPaths.element("a", {href: "#footnote-" + element.footnoteId}));
footnoteIds.push(element.footnoteId);
- html.text((footnoteNumber++).toString());
+ html.text("[" + (footnoteNumber++) + "]");
html.close();
html.close();
callback();