coloured text confusing the tag finder

2022.09-rc
Friendika 2010-11-24 17:21:31 -08:00
rodzic d98a695689
commit 48eab3e99c
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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