]> git.mxchange.org Git - friendica.git/commitdiff
By setting the "userinfo" class the hovercard in frio works with mentions
authorMichael Vogel <icarus@dabo.de>
Wed, 1 Jun 2016 15:10:43 +0000 (17:10 +0200)
committerMichael Vogel <icarus@dabo.de>
Wed, 1 Jun 2016 15:10:43 +0000 (17:10 +0200)
include/bbcode.php

index 39f04aa692e8de536f9b9744fdaf3f105787c305..99295aee02222baf7128c1fbd279ceb031f51c5e 100644 (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