Bugfix: Reshare with added content to Diaspora looked ugly

2022.09-rc
Michael 2018-03-09 20:04:31 +00:00
rodzic fc3b1b0aba
commit 7706616640
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1123,13 +1123,13 @@ class BBCode
}
if (stripos(normalise_link($link), 'http://twitter.com/') === 0) {
$text .= '<br /><a href="' . $link . '">' . $link . '</a>';
} else {
$text .= $headline . '<blockquote>' . trim($share[3]) . "</blockquote><br />";
if ($link != "") {
$text .= '<br /><a href="' . $link . '">[l]</a>';
}
} else {
$text .= '<br /><a href="' . $link . '">' . $link . '</a>';
}
break;