one more try - do not link numeric hash tags
This commit is contained in:
parent
41c7d71e3b
commit
8e30f6a2f4
2
boot.php
2
boot.php
|
@ -2075,7 +2075,7 @@ function get_tags($s) {
|
|||
continue;
|
||||
}
|
||||
// ignore strictly numeric tags like #1
|
||||
if((strpos($mtch,'#') === 0) && ctype_digit($mtch))
|
||||
if((strpos($mtch,'#') === 0) && ctype_digit(substr($mtch,1)))
|
||||
continue;
|
||||
if(substr($mtch,-1,1) === '.')
|
||||
$ret[] = substr($mtch,0,-1);
|
||||
|
|
Loading…
Reference in a new issue