coloured text confusing the tag finder

This commit is contained in:
Friendika 2010-11-24 17:21:31 -08:00
parent d98a695689
commit 48eab3e99c

View file

@ -1375,6 +1375,8 @@ function get_tags($s) {
$ret = array();
if(preg_match_all('/([@#][^ ,:?]*)([ ,:?]|$)/',$s,$match)) {
foreach($match[1] as $match) {
if(strstr($match,"]"))
continue;
if(substr($match,-1,1) === '.')
$ret[] = substr($match,0,-1);
else