summaryrefslogtreecommitdiff
path: root/element.go
diff options
context:
space:
mode:
Diffstat (limited to 'element.go')
-rw-r--r--element.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/element.go b/element.go
index a558055..1abba9e 100644
--- a/element.go
+++ b/element.go
@@ -831,6 +831,9 @@ func (el *element) toHTML(doc *Document, w io.Writer) {
}
fmt.Fprintf(w, `<a href="#%s">%s</a>`, href, label)
+ case elKindFootnote:
+ htmlWriteFootnote(el, w)
+
case elKindMacroTOC:
if doc.tocIsEnabled && doc.tocPosition == metaValueMacro {
doc.tocHTML(w)