rev update + don't tag anything in [] brackets

This commit is contained in:
friendica 2012-08-06 19:50:57 -07:00
parent f9f45fa957
commit 558fbcc69e
3 changed files with 59 additions and 55 deletions

View file

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