From: Friendika Date: Thu, 25 Nov 2010 01:21:31 +0000 (-0800) Subject: coloured text confusing the tag finder X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=48eab3e99ca082614caa8fd6929d8db27e8b7d6b;p=friendica.git coloured text confusing the tag finder --- diff --git a/boot.php b/boot.php index a31d0f4aa4..adaff5f49a 100644 --- a/boot.php +++ b/boot.php @@ -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