From: Michael Date: Sun, 27 Oct 2019 17:41:47 +0000 (+0000) Subject: (hopefully) fix preview issue with tags on Mastodon X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=60eb6603bf5701f33cf81dbb492508002c751a80;p=friendica.git (hopefully) fix preview issue with tags on Mastodon --- diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index 8a029fe534..fc5c772d5b 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -1746,9 +1746,9 @@ class BBCode extends BaseObject * - [url=]#[/url] */ $text = preg_replace_callback("/(?:#\[url\=.*?\]|\[url\=.*?\]#)(.*?)\[\/url\]/ism", function($matches) { - return '#' + . '" class="tag" rel="tag" title="' . XML::escape($matches[1]) . '">' . XML::escape($matches[1]) . ''; }, $text);