Merge branch 'master' of https://github.com/friendica/red
This commit is contained in:
commit
4af0b717de
@ -619,8 +619,8 @@ function get_tags($s) {
|
|||||||
}
|
}
|
||||||
if(substr($mtch,-1,1) === '.')
|
if(substr($mtch,-1,1) === '.')
|
||||||
$mtch = substr($mtch,0,-1);
|
$mtch = substr($mtch,0,-1);
|
||||||
// ignore strictly numeric tags like #1
|
// ignore strictly numeric tags like #1 or #^ bookmarks or ## double hash
|
||||||
if((strpos($mtch,'#') === 0) && ( ctype_digit(substr($mtch,1)) || substr($mtch,1,1) === '^'))
|
if((strpos($mtch,'#') === 0) && ( ctype_digit(substr($mtch,1)) || substr($mtch,1,1) === '^') || substr($mtch,1,1) === '#')
|
||||||
continue;
|
continue;
|
||||||
// try not to catch url fragments
|
// try not to catch url fragments
|
||||||
if(strpos($s,$mtch) && preg_match('/[a-zA-z0-9\/]/',substr($s,strpos($s,$mtch)-1,1)))
|
if(strpos($s,$mtch) && preg_match('/[a-zA-z0-9\/]/',substr($s,strpos($s,$mtch)-1,1)))
|
||||||
|
@ -1 +1 @@
|
|||||||
2014-10-14.828
|
2014-10-15.829
|
||||||
|
Reference in New Issue
Block a user