X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fbbcode.php;h=c05173f47c559782cf8f1ad401f415112a82e1bf;hb=c0cc65304b06b027219a9f162deaab90fe2a0487;hp=6c5a400ddc307a069ac67a56a57f09c0fc668017;hpb=8e800af306af3825e02316943c9cfbd4c2852049;p=friendica.git diff --git a/include/bbcode.php b/include/bbcode.php index 6c5a400ddc..c05173f47c 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -1,8 +1,28 @@ %s', - $url, $title, $title); - 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), "