diff options
Diffstat (limited to 'markup/asciidocext/internal/converter.go')
-rw-r--r-- | markup/asciidocext/internal/converter.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/markup/asciidocext/internal/converter.go b/markup/asciidocext/internal/converter.go index 5108bdd0a..f6ae4136e 100644 --- a/markup/asciidocext/internal/converter.go +++ b/markup/asciidocext/internal/converter.go @@ -243,6 +243,7 @@ func parseTOC(doc *html.Node) *tableofcontents.Fragments { toc.AddAt(&tableofcontents.Heading{ Title: nodeContent(c), ID: href, + Level: level + 1, }, row, level) } f(n.FirstChild, row, level) |