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