Entities inside autolinks not recognized
https://spec.commonmark.org/0.30/#entity-and-numeric-character-references implies that only code spans and code blocks don't support entities.
However, the dingus doesn't support entities in autolinks either; the following
<http://>>
is converted to
<p><a href="http://&gt;">http://&gt;</a></p>
(Dingus permalink: https://spec.commonmark.org/dingus/?text=%26gt%3B)
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.
Yes, this is a bug in commonmark/commonmark.js
cmark gives the correct output:
<p><a href="http://%3E">http://></a></p>
I'm transferring the issue; it's a bug in commonmark.js.
Thanks, reworded the title to reflect that this is a bug.