markdown: fragment links rewrite url incorrectly if they contain '.' character
May be related to #453 (closed).
See example: https://gitlab.com/Necroskillz/test vs https://github.com/Necroskillz/test
When you click on the link
, you should end up on /Necroskillz/test#link.with.dot
, but in gitlab the url is /Necroskillz/link.with.dot
.