diff --git a/src/system/helper/format.php b/src/system/helper/format.php index bc673ad..b78fe98 100644 --- a/src/system/helper/format.php +++ b/src/system/helper/format.php @@ -48,6 +48,7 @@ class Format { public static function post(string $text) { + $text = preg_replace("|@([a-zA-Z0-9_]+)|i", "@$1", $text); $text = preg_replace("|((https?://)?([\d\w\.-]+\.[\w\.]{2,6})[^\s\]\[\<\>]*/?)|i", "$3", $text); $text = nl2br($text);