aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-27 21:24:21 -0800
committerFriendika <info@friendika.com>2011-01-27 21:24:21 -0800
commit5d77bd9489763721b8f3e4a51c8cef1181276157 (patch)
treea0f4c07381c9c32aff694ecceaad37bf5fdf8aa4 /boot.php
parent33037754d80dce07e6d806b6cee6df56311bb954 (diff)
downloadvolse-hubzilla-5d77bd9489763721b8f3e4a51c8cef1181276157.tar.gz
volse-hubzilla-5d77bd9489763721b8f3e4a51c8cef1181276157.tar.bz2
volse-hubzilla-5d77bd9489763721b8f3e4a51c8cef1181276157.zip
tag finder tweak
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 589068fb2..3cc98cc9b 100644
--- a/boot.php
+++ b/boot.php
@@ -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