coloured text confusing the tag finder
This commit is contained in:
parent
d98a695689
commit
48eab3e99c
2
boot.php
2
boot.php
|
@ -1375,6 +1375,8 @@ function get_tags($s) {
|
||||||
$ret = array();
|
$ret = array();
|
||||||
if(preg_match_all('/([@#][^ ,:?]*)([ ,:?]|$)/',$s,$match)) {
|
if(preg_match_all('/([@#][^ ,:?]*)([ ,:?]|$)/',$s,$match)) {
|
||||||
foreach($match[1] as $match) {
|
foreach($match[1] as $match) {
|
||||||
|
if(strstr($match,"]"))
|
||||||
|
continue;
|
||||||
if(substr($match,-1,1) === '.')
|
if(substr($match,-1,1) === '.')
|
||||||
$ret[] = substr($match,0,-1);
|
$ret[] = substr($match,0,-1);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue