Description
In GitLab, dots are allowed in usernames (unlike in GitHub). When using ghMentions with ghMentionsLink, if the given username contains a dot, the link is made only with what is before the dot.
Input
With the following showdown options:
{
ghMentions: true,
ghMentionsLink: 'https://gitlab.example.com/{u}',
}
Expected output
<a href="https://gitlab.example.com/john.doe>@john.doe</a>
Actual output
<a href="https://gitlab.example.com/john>@john</a>.doe
Description
In GitLab, dots are allowed in usernames (unlike in GitHub). When using
ghMentionswithghMentionsLink, if the given username contains a dot, the link is made only with what is before the dot.Input
With the following showdown options:
Expected output
Actual output