X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fbbcode.php;h=a14e3ee8e9b88f9377b6d9ed02adb73b1e18e59e;hb=dbb5df7f7d65e4f94add3f0684d9bff40e5f8167;hp=9a43cdb305e140222650bcfdd9dd97f307da934b;hpb=4a473611163a12b48d3bbad71dc54765be8789f9;p=friendica.git diff --git a/include/bbcode.php b/include/bbcode.php index 9a43cdb305..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), "