one more try - do not link numeric hash tags

pull/1/head
Friendika 11 years ago
parent 41c7d71e3b
commit 8e30f6a2f4
  1. 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…
Cancel
Save