Skip to content

Conflict with abbreviations, toc extension, and typeset plugin #5579

@jonaharagon

Description

@jonaharagon

Context

Updating to the latest mkdocs-material-insiders breaks some tables of contents on our staging site: https://deploy-preview-2177.preview.privacyguides.dev/en/vpn/#ipv6-support

Bug description

In the Table of Contents with the typeset plugin enabled, if there's an abbreviation in a heading, the abbreviation and any subsequent text doesn't get rendered at all.

If the abbreviation is at the very beginning of the header it does show the entire heading text, but the permalink icon gets erroneously included at the end:

NK3dksoRsmGJsQD2

Related links

Reproduction

example.zip

Steps to reproduce

  1. Enable typeset plugin
  2. Enable TOC
  3. Enable abbreviations
  4. Use abbreviation in heading

Browser

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open🏆 perfectIssue is of outstanding quality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions