diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index dd62c5d841..ea818d7f31 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -1008,7 +1008,9 @@ class BBCode $attributes['avatar'] = ProxyUtils::proxifyUrl($attributes['avatar'], false, ProxyUtils::SIZE_THUMB); } - return $match[1] . $callback($attributes, $author_contact, $match[3], trim($match[1]) != ''); + $content = preg_replace(Strings::autoLinkRegEx(), '$1', $match[3]); + + return $match[1] . $callback($attributes, $author_contact, $content, trim($match[1]) != ''); }, $text );