X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fbbcode.php;h=489ef8b2e38e0b7680a701538dad49533305663e;hb=a2a171af06f5cdaa37623dff9bb714bf2a05d22d;hp=2fcf6c3247a572a8404b78c97716799465427fc9;hpb=26983bafff024adab0339b828ec21d83fc5d1007;p=friendica.git diff --git a/include/bbcode.php b/include/bbcode.php index 2fcf6c3247..489ef8b2e3 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -1,8 +1,12 @@ %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), "