From 4976b1c1536191426e9bd0fc21d7aa327b15be57 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 25 Aug 2014 23:40:18 +0200 Subject: [PATCH] BBCode: Add a linefeed between a picture and the following text. This is important for exports (e.g. to pumpio) --- include/bbcode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;