Skip to content

Incorrect text shown for nested headings in TOC #26

@steveparks

Description

@steveparks

When the TOC is displayed, this addon no longer correctly shows the text for h3 or below.

Now, h3 headings are shown in the TOC with the title of the page, rather than the text of the heading.

This issue just started recently. It worked fine on on v1.5, so could potentially be related to changes in v1.6 or 1.7. Possibly a side effect related to the fix for #25 ?

I'm using statemic-toc 1.7 on Statamic 5.51.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions