From: Michael Date: Fri, 9 Mar 2018 20:04:31 +0000 (+0000) Subject: Bugfix: Reshare with added content to Diaspora looked ugly X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7706616640c44374354a11913dcfa5085c7663c3;p=friendica.git Bugfix: Reshare with added content to Diaspora looked ugly --- 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;