mirror of
https://github.com/friendica/friendica
synced 2025-04-23 02:30:20 +00:00
Merge pull request #8520 from annando/term2tag
We now store tags in "tag"
This commit is contained in:
commit
43b8bdea07
26 changed files with 561 additions and 71 deletions
|
@ -2107,7 +2107,7 @@ class BBCode
|
|||
$ret = [];
|
||||
|
||||
// Convert hashtag links to hashtags
|
||||
$string = preg_replace('/#\[url\=([^\[\]]*)\](.*?)\[\/url\]/ism', '#$2', $string);
|
||||
$string = preg_replace('/#\[url\=([^\[\]]*)\](.*?)\[\/url\]/ism', '#$2 ', $string);
|
||||
|
||||
// ignore anything in a code block
|
||||
$string = preg_replace('/\[code.*?\].*?\[\/code\]/sm', '', $string);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue