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
The & inside the autolink is recognized as a literal ampersand rather than the starter of an entity.
I'm inclined to think this is a bug of the dingus implementation but the dingus page itself doesn't say which implementation is behind it, so I'm filing it here. Please move it to the proper tracker if that is indeed the case.
Activity
jgm commentedon Oct 3, 2022
Yes, this is a bug in commonmark/commonmark.js
jgm commentedon Oct 3, 2022
cmark gives the correct output:
I'm transferring the issue; it's a bug in commonmark.js.
[-]Are entities supported inside autolinks?[/-][+]Entities inside autolinks not recognized[/+]xiaq commentedon Oct 3, 2022
Thanks, reworded the title to reflect that this is a bug.
Add regression test for entities in autolinks (#263)
Recognize entities inside autolinks