Skip to content

Links to commits use different font

Summary

Markdown links [text](url) sometimes use a different font depending on the URL, which looks rather odd.

Steps to reproduce

Post a comment with the following markdown

- [Link 1](https://gitlab.com/gitlab-org/gitlab/-/commit/ebd077fb5e900d6ce407833cd14d807877cf0893)
- [Link 2](https://gitlab.com/)

It renders like this:

What is the current bug behavior?

As you can see, the first link uses a different font!

What is the expected correct behavior?

I don't think the target URL should affect the font of the link text when rendering [text](url) (i.e. links with a user-defined explicit text), that makes little sense.

Edited by Ralf