X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fbbcode.php;h=c05173f47c559782cf8f1ad401f415112a82e1bf;hb=98b727029570b96febd0c5046b688cab1a9bb882;hp=acf6979d84544788a5eb8a2292ad2f77912b64ef;hpb=32fa5d185c27b9490410ddf2fa4b13eff1d8129e;p=friendica.git diff --git a/include/bbcode.php b/include/bbcode.php index acf6979d84..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), "