Skip to content

fix(headings): keep math and footnote references in headings - #437

Open
RovshanMuradov wants to merge 1 commit into
kepano:mainfrom
RovshanMuradov:fix/preserve-heading-inline-content
Open

RovshanMuradov wants to merge 1 commit into
kepano:mainfrom
RovshanMuradov:fix/preserve-heading-inline-content

Conversation

@RovshanMuradov

@RovshanMuradov RovshanMuradov commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #436

Heading cleanup flattened everything to text, concatenating MathML presentation and TeX (x2x^2), and treated footnote references as permalinks and removed them. Headings stay plain text, but <math> and footnote references (sup[id^="fnref:"]) are now kept.

<!-- before -->
## THE dependence on x2x^2 and x2x^2: method
<!-- after -->
## THE dependence on $x^2$ and $x^2$: method

@RovshanMuradov RovshanMuradov changed the title fix(headings): retain semantic inline content and canonical noterefs fix(headings): keep math and footnote references in headings Oct 12, 2026
@RovshanMuradov
RovshanMuradov force-pushed the fix/preserve-heading-inline-content branch from 450d525 to d7f5550 Compare October 12, 2026 16:49
Heading cleanup flattened everything to text, concatenating MathML
presentation and TeX, and removed footnote references as permalinks.
Headings stay plain text, but <math> and footnote references are kept.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Heading cleanup flattens inline MathML and removes canonical footnote links

1 participant