aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-24 17:21:31 -0800
committerFriendika <info@friendika.com>2010-11-24 17:21:31 -0800
commit48eab3e99ca082614caa8fd6929d8db27e8b7d6b (patch)
tree7c02b3e36faa36798665072506c3202852f3e5f8 /boot.php
parentd98a6956894b1d3f120091ac9dd17436e51e0515 (diff)
downloadvolse-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.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index a31d0f4aa..adaff5f49 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