By setting the "userinfo" class the hovercard in frio works with mentions
This commit is contained in:
parent
85f42ad26d
commit
0b766b86ba
|
@ -811,7 +811,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true, $simplehtml = fal
|
||||||
$Text);
|
$Text);
|
||||||
elseif (!$simplehtml)
|
elseif (!$simplehtml)
|
||||||
$Text = preg_replace("/([@])\[url\=([$URLSearchString]*)\](.*?)\[\/url\]/ism",
|
$Text = preg_replace("/([@])\[url\=([$URLSearchString]*)\](.*?)\[\/url\]/ism",
|
||||||
'$1<a href="$2" class="mention" title="$3">$3</a>',
|
'$1<a href="$2" class="userinfo mention" title="$3">$3</a>',
|
||||||
$Text);
|
$Text);
|
||||||
|
|
||||||
// Bookmarks in red - will be converted to bookmarks in friendica
|
// Bookmarks in red - will be converted to bookmarks in friendica
|
||||||
|
|
Loading…
Reference in a new issue