ITADN

Tildes in URLs are mangled into nonsense

#737OpenJames-E-A 创建于 2024-11-09
bugsimpleP2 priority
J
James-E-Acommented
If I post this markdown: ```md [voter ID requirements](https://www.newsweek.com/von-spakovsky-voter-fraud-trump-632422#:~:text=investigating%20imagined%20transgressions,Trump%20plainly%20craves) ``` It gets rendered into this HTML: ```html <a href="https://www.newsweek.com/von-spakovsky-voter-fraud-trump-632422#:<del>:text=investigating%20imagined%20transgressions,Trump%20plainly%20craves" rel="nofollow noopener noreferrer" target="_blank">voter ID requirements</a> ``` which completely breaks the [text fragment anchor](https://web.dev/articles/text-fragments). --- #266 is implicated here; this bug does **not** occur in the client-side previewer, only during the server-side bake.
2 条评论