Bad escaping in Asciidoc links?
I have the following asciidoc snippet in my readme:
:project-name: maven-build-process
:project-group: de.xn--ho-hia.maven
image:https://img.shields.io/maven-central/v/{project-group}/{project-name}.svg?style=flat-square["Maven Central", link="https://maven-badges.herokuapp.com/maven-central/{project-group}/{project-name}"]
My expectation is that the following link will be created:
<a class="image" href="https://maven-badges.herokuapp.com/maven-central/de.xn--ho-hia.maven/maven-build-process"><img src="https://img.shields.io/maven-central/v/de.xn--ho-hia.maven/maven-build-process.svg?style=flat-square" alt="Maven Central"></a>
Instead I'm getting the following:
<a class="image" href="https://maven-badges.herokuapp.com/maven-central/de.xn%E2%80%94%E2%80%8Bho-hia.maven/maven-build-process"><img src="https://img.shields.io/maven-central/v/de.xn%E2%80%94%E2%80%8Bho-hia.maven/maven-build-process.svg?style=flat-square" alt="Maven Central"></a>
Which is almost the same, yet the double hyphens are replaced with %E2%80%94%E2%80%8B
. I'm not sure which component is doing that, my recent version of Asciidoc installed locally is outputting the correct link. The issue is happening on github as well, so maybe it is gollum issue (assuming that both systems use gollum)?