-
Notifications
You must be signed in to change notification settings - Fork 856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heading subscripts are stripped out in TOC extension #935
Comments
The problem is that we would need to parse the raw HTML and check the tag against a whitelist to do that. We don't actually parse raw HTML (we just remove anything between
You can define a custom label if you are also using the attr_list extension via the |
Have you considered to return the raw Markdown or HTML in |
This is a duplicate of #660. Not sure how I missed that before. |
A heading with a subscript, i.e.
### CO<sub>2</sub> Emissions
now gets the<sub>
tag stripped out in the table of contents as of the 3.2 release (issue #899).I understand that arbitrary HTML in the headings is undesirable, but for some formatting tags it seems like the most straightforward approach.
Until there is a different way to format TOC entries, is there a workaround for this, or do I just need to keep using an older release?
The text was updated successfully, but these errors were encountered: