Ensure that the link will be displayed correctly on Diaspora
This commit is contained in:
parent
b6cb7c034f
commit
aba93df94f
1 changed files with 1 additions and 1 deletions
|
@ -965,7 +965,7 @@ class BBCode extends BaseObject
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stripos(normalise_link($link), 'http://twitter.com/') === 0) {
|
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 {
|
} else {
|
||||||
$text .= $headline . '<blockquote>' . trim($share[3]) . "</blockquote><br />";
|
$text .= $headline . '<blockquote>' . trim($share[3]) . "</blockquote><br />";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue