ignore any fully numeric hash tag
This commit is contained in:
parent
06802dd8fe
commit
1441fce04e
1 changed files with 1 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -2075,7 +2075,7 @@ function get_tags($s) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// ignore strictly numeric tags like #1
|
// ignore strictly numeric tags like #1
|
||||||
if((strpos($mtch,'#') === 0) && ctype_digit(substr($mtch,1)))
|
if((strpos($mtch,'#') === 0) && ctype_digit($mtch))
|
||||||
continue;
|
continue;
|
||||||
if(substr($mtch,-1,1) === '.')
|
if(substr($mtch,-1,1) === '.')
|
||||||
$ret[] = substr($mtch,0,-1);
|
$ret[] = substr($mtch,0,-1);
|
||||||
|
|
Loading…
Reference in a new issue