From: Michael Vogel Date: Wed, 1 Jun 2016 14:04:31 +0000 (+0200) Subject: Mentions are now having an own class X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5090ec15009b50c7ca1a1e93547172db82744b54;p=friendica.git Mentions are now having an own class --- diff --git a/include/bbcode.php b/include/bbcode.php index bc30767770..3833c55401 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -809,7 +809,10 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true, $simplehtml = fal $Text = preg_replace("/([@])\[url\=([$URLSearchString]*)\](.*?)\[\/url\]/ism", '$1$3', $Text); - + elseif (!$simplehtml) + $Text = preg_replace("/([@])\[url\=([$URLSearchString]*)\](.*?)\[\/url\]/ism", + '$1$3', + $Text); // Bookmarks in red - will be converted to bookmarks in friendica $Text = preg_replace("/#\^\[url\]([$URLSearchString]*)\[\/url\]/ism", '[bookmark=$1]$1[/bookmark]', $Text);