Closed as not planned
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
"rehype-sanitize": "^6.0.0"
Link to runnable example
react-markdown
Steps to reproduce
the rehype-sanitize
has changed the id of the elements below:
<a href="#user-content-fn-1" id="user-content-user-content-fnref-1" data-footnote-ref="true" aria-describedby="user-content-footnote-label">1</a>
...
<li id="user-content-user-content-fn-1">
<p>something... <a href="#user-content-fnref-1" data-footnote-backref="" aria-label="Back to reference 1" class="data-footnote-backref">↩</a></p>
</li>
Expected behavior
It should not be changed.
Actual behavior
idk
Affected runtime and version
node@18.2
Affected package manager and version
No response
Affected OS and version
No response
Build and bundle tools
No response