Browse Source

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

pull/2554/head
Michael Vogel 6 years ago
parent
commit
0b766b86ba
  1. 2
      include/bbcode.php

2
include/bbcode.php

@ -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

Loading…
Cancel
Save