mirror of
https://github.com/kevachat/webapp.git
synced 2025-08-26 13:42:40 +00:00
fix link
This commit is contained in:
parent
d64377f3e3
commit
bde85b1707
@ -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…
x
Reference in New Issue
Block a user