From: Michael Vogel Date: Mon, 25 Aug 2014 21:40:18 +0000 (+0200) Subject: BBCode: Add a linefeed between a picture and the following text. This is important... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4976b1c1536191426e9bd0fc21d7aa327b15be57;p=friendica.git BBCode: Add a linefeed between a picture and the following text. This is important for exports (e.g. to pumpio) --- diff --git a/include/bbcode.php b/include/bbcode.php index 0d9d34cd74..75aa4fd89f 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -77,9 +77,9 @@ function bb_attachment($Text, $plaintext = false, $tryoembed = true) { $oembed = $bookmark[0]; if (($image != "") AND !strstr(strtolower($oembed), "', $url, $image, $title); + $text .= sprintf('
', $url, $image, $title); elseif (($preview != "") AND !strstr(strtolower($oembed), "', $url, $preview, $title); + $text .= sprintf('
', $url, $preview, $title); $text .= $oembed;