Browse Source

fix link

main
ghost 12 months ago
parent
commit
bde85b1707
  1. 4
      src/Twig/AppExtension.php

4
src/Twig/AppExtension.php

@ -164,8 +164,8 @@ class AppExtension extends AbstractExtension @@ -164,8 +164,8 @@ class AppExtension extends AbstractExtension
): string
{
return preg_replace(
'~(@[A-z0-9]{64})~i',
'[$1](#$1)',
'~@([A-z0-9]{64})~i',
'[@$1](#$1)',
$text
);
}

Loading…
Cancel
Save