diff options
author | Friendika <info@friendika.com> | 2010-11-28 14:43:14 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-28 14:43:14 -0800 |
commit | 34a8fb935d9619c5114981862dfe2949a90f09bb (patch) | |
tree | d7a28435a4084abeacd1bcb233d836d4ba7eb298 /boot.php | |
parent | 9a921b829ba34b189ba37f0b771f164238c40853 (diff) | |
download | volse-hubzilla-34a8fb935d9619c5114981862dfe2949a90f09bb.tar.gz volse-hubzilla-34a8fb935d9619c5114981862dfe2949a90f09bb.tar.bz2 volse-hubzilla-34a8fb935d9619c5114981862dfe2949a90f09bb.zip |
no newlines in tags
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1379,7 +1379,7 @@ function activity_match($haystack,$needle) { if(! function_exists('get_tags')) { function get_tags($s) { $ret = array(); - if(preg_match_all('/([@#][^ ,:?]*)([ ,:?]|$)/',$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 |