diff options
author | Friendika <info@friendika.com> | 2011-01-27 21:24:21 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-01-27 21:24:21 -0800 |
commit | 5d77bd9489763721b8f3e4a51c8cef1181276157 (patch) | |
tree | a0f4c07381c9c32aff694ecceaad37bf5fdf8aa4 | |
parent | 33037754d80dce07e6d806b6cee6df56311bb954 (diff) | |
download | volse-hubzilla-5d77bd9489763721b8f3e4a51c8cef1181276157.tar.gz volse-hubzilla-5d77bd9489763721b8f3e4a51c8cef1181276157.tar.bz2 volse-hubzilla-5d77bd9489763721b8f3e4a51c8cef1181276157.zip |
tag finder tweak
-rw-r--r-- | boot.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1692,7 +1692,7 @@ function get_tags($s) { $s = preg_replace('/\[code\](.*?)\[\/code\]/sm','',$s); - if(preg_match_all('/([@#][^ \x0D\x0A,:?]*)([ \x0D\x0A,:?]|$)/',$s,$match)) { + if(preg_match_all('/([@#][^ \x0D\x0A,:?]+)([ \x0D\x0A,:?]|$)/',$s,$match)) { foreach($match[1] as $match) { if(strstr($match,"]")) { // we might be inside a bbcode color tag - leave it alone |