https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6cb7c0
)
Ensure that the link will be displayed correctly on Diaspora
author
Michael
<heluecht@pirati.ca>
Thu, 3 May 2018 04:43:50 +0000
(
04:43
+0000)
committer
Michael
<heluecht@pirati.ca>
Thu, 3 May 2018 04:43:50 +0000
(
04:43
+0000)
src/Content/Text/BBCode.php
patch
|
blob
|
history
diff --git
a/src/Content/Text/BBCode.php
b/src/Content/Text/BBCode.php
index
6c441ba
..
c3ac41c
100644
(file)
--- a/
src/Content/Text/BBCode.php
+++ b/
src/Content/Text/BBCode.php
@@
-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 />";