Ensure that the link will be displayed correctly on Diaspora

This commit is contained in:
Michael 2018-05-03 04:43:50 +00:00 committed by Roland Häder
parent 3bb5a416f8
commit d217d74081
No known key found for this signature in database
GPG Key ID: B72F8185C6C7BD78
1 changed files with 1 additions and 1 deletions

View File

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