1
1
Fork 0

By setting the "userinfo" class the hovercard in frio works with mentions

This commit is contained in:
Michael Vogel 2016-06-01 17:10:43 +02:00
parent 85f42ad26d
commit 0b766b86ba

View file

@ -811,7 +811,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true, $simplehtml = fal
$Text);
elseif (!$simplehtml)
$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);
// Bookmarks in red - will be converted to bookmarks in friendica