Misc changes (#4063)

* Fix

* Update
This commit is contained in:
Hugo 2025-09-15 18:52:22 +01:00 committed by GitHub
parent 55d31bd24b
commit 1473d4aa11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -266,7 +266,7 @@ const transformLinks = (text: string): string =>
},
{
name: 'GitLab',
find: /\[GitLab\]\(([^\)]*?)\)/gm,
find: /(?<=\/ )\[GitLab\]\(([^\)]*?)\)/gm,
replace:
'<a target="_blank" href="$1"><div alt="GitLab" class="i-carbon:logo-gitlab" /></a>'
},