start on bug #227 - more to do
This commit is contained in:
@@ -492,6 +492,9 @@ function get_tags($s) {
|
||||
// ignore strictly numeric tags like #1
|
||||
if((strpos($mtch,'#') === 0) && ctype_digit(substr($mtch,1)))
|
||||
continue;
|
||||
// try not to catch url fragments
|
||||
if(strpos($s,$mtch) && preg_match('/[a-zA-z0-9\/]/',substr($s,strpos($s,$mtch)-1,1)))
|
||||
continue;
|
||||
$ret[] = $mtch;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user