mirror of
https://github.com/friendica/friendica
synced 2025-04-24 12:30:10 +00:00
Issue 11846: Fix client behaviour when following hash tags
This commit is contained in:
parent
c107c5ff0d
commit
aa2b4e15a3
2 changed files with 4 additions and 1 deletions
|
@ -1975,6 +1975,9 @@ class BBCode
|
|||
$text = preg_replace("/([@!])\[url\=(.*?)\](.*?)\[\/url\]/ism",
|
||||
'<bdi>$1<a href="$2" class="userinfo mention" title="$3">$3</a></bdi>',
|
||||
$text);
|
||||
$text = preg_replace("/([#])\[url\=(.*?)\](.*?)\[\/url\]/ism",
|
||||
'<a class="mention hashtag status-link" href="$2" rel="tag">$1<span>$3</span></a>',
|
||||
$text);
|
||||
} else {
|
||||
$text = preg_replace("/([#@!])\[url\=(.*?)\](.*?)\[\/url\]/ism", '$1$3', $text);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue