From 8e30f6a2f43d5654a1ecab595be9d801dbc64b3c Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 28 Jul 2011 21:05:56 -0700 Subject: one more try - do not link numeric hash tags --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.php b/boot.php index f7a0b50bc..956cb2ca6 100644 --- a/boot.php +++ b/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); -- cgit v1.2.3