diff options
Diffstat (limited to 'markup/asciidocext/convert.go')
-rw-r--r-- | markup/asciidocext/convert.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markup/asciidocext/convert.go b/markup/asciidocext/convert.go index 10e16810e..ff843cb6e 100644 --- a/markup/asciidocext/convert.go +++ b/markup/asciidocext/convert.go @@ -276,7 +276,7 @@ func parseTOC(doc *html.Node) tableofcontents.Root { continue } href := attr(c, "href")[1:] - toc.AddAt(tableofcontents.Header{ + toc.AddAt(tableofcontents.Heading{ Text: nodeContent(c), ID: href, }, row, level) |