1
1
Fork 0

one more try - do not link numeric hash tags

This commit is contained in:
Friendika 2011-07-28 21:05:56 -07:00
parent 41c7d71e3b
commit 8e30f6a2f4

View file

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