From: Hypolite Petovan Date: Fri, 9 Mar 2018 20:23:11 +0000 (-0500) Subject: Merge pull request #4569 from annando/bugfix-diaspora-reshare X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f0c9b4cdf80fee2282b17f9f47593fdb87b38db7;hp=fc3b1b0aba17bf12ee0d19d7f6e57fc61d4f70bc;p=friendica.git Merge pull request #4569 from annando/bugfix-diaspora-reshare 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;