mirror of
https://github.com/friendica/friendica
synced 2024-12-23 04:40:15 +00:00
Remove strictly numeric tags exception
- It prevented to use year number hashtags for no clear benefit
This commit is contained in:
parent
47bbe16d13
commit
35213630e8
1 changed files with 0 additions and 5 deletions
|
@ -2104,11 +2104,6 @@ class BBCode
|
|||
continue;
|
||||
}
|
||||
|
||||
// ignore strictly numeric tags like #1
|
||||
if ((strpos($match, '#') === 0) && ctype_digit(substr($match, 1))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// try not to catch url fragments
|
||||
if (strpos($string, $match) && preg_match('/[a-zA-z0-9\/]/', substr($string, strpos($string, $match) - 1, 1))) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue