diff options
author | Friendika <info@friendika.com> | 2010-11-24 17:21:31 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-24 17:21:31 -0800 |
commit | 48eab3e99ca082614caa8fd6929d8db27e8b7d6b (patch) | |
tree | 7c02b3e36faa36798665072506c3202852f3e5f8 /boot.php | |
parent | d98a6956894b1d3f120091ac9dd17436e51e0515 (diff) | |
download | volse-hubzilla-48eab3e99ca082614caa8fd6929d8db27e8b7d6b.tar.gz volse-hubzilla-48eab3e99ca082614caa8fd6929d8db27e8b7d6b.tar.bz2 volse-hubzilla-48eab3e99ca082614caa8fd6929d8db27e8b7d6b.zip |
coloured text confusing the tag finder
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |