Test case: add a link to:
http://git.haproxy.org/?p=haproxy.git;a=blob_plain;f=doc/proxy-protocol.txt;hb=HEAD
The raw link is:
http://git.haproxy.org/?p=haproxy.git;a=blob_plain;f=doc/proxy-protocol.txt;hb=HEAD
But when clicking on the link it leads me to:
http://git.haproxy.org/?p=haproxy.git%3Ba=blob_plain%3Bf=doc/proxy-protocol.txt%3Bhb=HEAD
Which results in a 404.
cc ~araspik
The issue seems to be core.sr.ht:srht/markdown.py:L85. Perhaps it's being escaped somewhere else too, or it's something to do with
;
andescape_url
.
It looks like it's an issue with any kind of link (example). I'll check the CommonMark spec - perhaps the semicolons must be escaped. Otherwise, I'll file a bug in mistletoe.
Bug filed in mistletoe: https://github.com/miyuchina/mistletoe/issues/102