diff options
Diffstat (limited to 'element.go')
| -rw-r--r-- | element.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |
