From 7706616640c44374354a11913dcfa5085c7663c3 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 9 Mar 2018 20:04:31 +0000 Subject: [PATCH] Bugfix: Reshare with added content to Diaspora looked ugly --- src/Content/Text/BBCode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index 8dd9305ca3..091957c197 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -1123,13 +1123,13 @@ class BBCode } if (stripos(normalise_link($link), 'http://twitter.com/') === 0) { + $text .= '
' . $link . ''; + } else { $text .= $headline . '
' . trim($share[3]) . "

"; if ($link != "") { $text .= '
[l]'; } - } else { - $text .= '
' . $link . ''; } break;