Skip to content

toc rendering issue when title comes with link #495

@Ayx03

Description

@Ayx03

Describe the bug

One title used multiple numbers in toc when the title come with a link.

I've tried deleting /resources and /public but those didn't work.

Expected behavior

Just like there's no link in titles.

To Reproduce

Add links in title.

Screenshots

Environment

  • Hugo version [e.g: 0.80.0]: 0.91.2
  • Hugo extended?: Yes
  • OS: [e.g. iOS] WIndows 11
  • Browser [e.g. chrome, safari] Firefox/Edge
  • Version [e.g. 22] 97/98

Link to the demo site and/or source repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions