X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fbbcode.php;h=74dde2fdf431ee0f488ab11804a1698058719255;hb=d82ed5d1b4a3af4d0a4782b809837e3b22d1211d;hp=8545b2ff8253c9b29c9b71d87b8003a383623e3b;hpb=e8c07aaac67aea66bfcbe6b50b9dd8557bc4f036;p=friendica.git diff --git a/include/bbcode.php b/include/bbcode.php index 8545b2ff82..74dde2fdf4 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -1,9 +1,12 @@ 0.9)) - $title2 = $url; - $text = sprintf('%s
', - $url, $title, $title2); - } elseif (($simplehtml != 4) AND ($simplehtml != 0)) - $text = sprintf('%s
', $url, $title); - else { - $text = sprintf('', $type); - - $bookmark = array(sprintf('[bookmark=%s]%s[/bookmark]', $url, $title), $url, $title); - if ($tryoembed) - $oembed = tryoembed($bookmark); - else - $oembed = $bookmark[0]; - if (strstr(strtolower($oembed), "