mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
rev update + don't tag anything in [] brackets
This commit is contained in:
parent
f9f45fa957
commit
558fbcc69e
3 changed files with 59 additions and 55 deletions
|
@ -504,6 +504,10 @@ function get_tags($s) {
|
|||
|
||||
$s = preg_replace('/\[code\](.*?)\[\/code\]/sm','',$s);
|
||||
|
||||
// ignore anything in a bbtag
|
||||
|
||||
$s = preg_replace('/\[(.*?)\]/sm','',$s);
|
||||
|
||||
// Match full names against @tags including the space between first and last
|
||||
// We will look these up afterward to see if they are full names or not recognisable.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue