You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shoot, I totally forgot that content would already be escaped... interesting dilemma here actually, since in-line elements probably should be stripped when generating the TOC. Ideally, I think getting the text from .textContent on the header should be shown, which is kind of annoying to get without DOM apis.
We see something possibly related over at jupyterlab/jupyterlab#14367 (sorry, I was not sure if you prefer new issues or comment here) - the link in the title is rendered as HTML:
The title in question is # [JupyterLab](http://jupyterlab.github.io/jupyterlab/) in markdown (and actually ideally we skip it as this is just the title).
Search terms
TOC, ampersand
Expected Behavior
Render ampersand in TOC as
&
.Actual Behavior
Ampersand in TOC is rendered as
&
.Steps to reproduce the bug
Environment
The text was updated successfully, but these errors were encountered: