mirror of
https://github.com/fmhy/edit.git
synced 2025-10-13 08:11:07 +11:00
Update
This commit is contained in:
parent
b302224f60
commit
c9bffad45e
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ const transformLinks = (text: string): string =>
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'GitLab',
|
name: 'GitLab',
|
||||||
find: /\/ \[GitLab\]\(([^\)]*?)\)/gm,
|
find: /(?<=\/ )\[GitLab\]\(([^\)]*?)\)/gm,
|
||||||
replace:
|
replace:
|
||||||
'<a target="_blank" href="$1"><div alt="GitLab" class="i-carbon:logo-gitlab" /></a>'
|
'<a target="_blank" href="$1"><div alt="GitLab" class="i-carbon:logo-gitlab" /></a>'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue