From: Michael Date: Wed, 30 Jan 2019 21:57:26 +0000 (+0000) Subject: Links of mentioned contacts hadn't looked great on Mastodon X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=de566cd8888ba427bfe64910ad0beb50430a81a6;p=friendica.git Links of mentioned contacts hadn't looked great on Mastodon --- diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index 794410a690..a8b5ec2025 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -1293,7 +1293,7 @@ class BBCode extends BaseObject $text); } elseif ($simple_html == 7) { $text = preg_replace("/([@!])\[url\=([$URLSearchString]*)\](.*?)\[\/url\]/ism", - '$1$3', + '$1$3', $text); } elseif (!$simple_html) { $text = preg_replace("/([@!])\[url\=([$URLSearchString]*)\](.*?)\[\/url\]/ism",