Skip to content

[[toc]] bug with dots in headings and export to HTML #468

@borekb

Description

@borekb

For this document:

## Butterflies etc.

Note the dot

## Normal heading

when I do [[toc]] and turn it into a full list, I get this:

- [Butterflies etc.](#butterflies-etc.)
- [Normal heading](#normal-heading)

However, when I export to HTML, the H2 ID will be id="butterflies-etc" without the dot so the link in a ToC is not working.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions