Browse Source

fix link

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

4
src/Twig/AppExtension.php

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

Loading…
Cancel
Save