X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fbbcode.php;h=c05173f47c559782cf8f1ad401f415112a82e1bf;hb=e6463c8af6af247c9555bf2677a6aa75a4721d62;hp=b68a7c5b188ec74c7e181fd9056a2f8e76084fe5;hpb=b41ab85feb5a36c93feeafa41b667f4aaca5f5d8;p=friendica.git diff --git a/include/bbcode.php b/include/bbcode.php index b68a7c5b18..c05173f47c 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -1,8 +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), "