Description
<a name="...">no longer renders in markdown cells in v7.4.7 .
It works in the previous version I used, v7.1.3 (w/ jupyterlab 4.1.6), and older versions. It is as if some sanitizer logic too aggressively strips out name attribute.
Reproduce
Enter the following in markdown cell
# Section Foo
<a name="foo">
In v7.4.7, the <a> is rendered as <a rel="nofollow" target="_self"></a> , with name stripped, effectively making the section anchor useless.
Expected behavior
The name attribute of <a> should be retained.
Context
- Operating System and version: Windows 11
- Browser and version: Chrome 141
- Jupyter Notebook version: v7.4.7 (jupyterlab 4.4.10)
I use <a name="..."> in markdown cells to jump to specific section of a notebook.
Description
<a name="...">no longer renders in markdown cells in v7.4.7 .It works in the previous version I used, v7.1.3 (w/ jupyterlab 4.1.6), and older versions. It is as if some sanitizer logic too aggressively strips out
nameattribute.Reproduce
Enter the following in markdown cell
In v7.4.7, the
<a>is rendered as<a rel="nofollow" target="_self"></a>, withnamestripped, effectively making the section anchor useless.Expected behavior
The
nameattribute of<a>should be retained.Context
I use
<a name="...">in markdown cells to jump to specific section of a notebook.