X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fbbcode.php;h=a14e3ee8e9b88f9377b6d9ed02adb73b1e18e59e;hb=dbb5df7f7d65e4f94add3f0684d9bff40e5f8167;hp=867c9fe2bf56cf9fcb4ed9a103d7ac2fbafd390a;hpb=f602ec30ccde5700726bc51be1096b0a2c55b1ec;p=friendica.git diff --git a/include/bbcode.php b/include/bbcode.php index 867c9fe2bf..a14e3ee8e9 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -1,6 +1,7 @@ %s
', $data["url"], $data["title"]); } else { - $text = sprintf('', $data["type"]); + if ($simplehtml != 4) { + $text = sprintf('', $data["type"]); + } else { + $span_end = ''; + } $bookmark = array(sprintf('[bookmark=%s]%s[/bookmark]', $data["url"], $data["title"]), $data["url"], $data["title"]); if ($tryoembed) { @@ -71,22 +77,26 @@ function bb_attachment($Text, $simplehtml = false, $tryoembed = true) { if (strstr(strtolower($oembed), "