mirror of
https://github.com/friendica/friendica
synced 2025-04-19 06:30:10 +00:00
separate tag search from body search
This commit is contained in:
parent
3637534119
commit
2064d86cb3
5 changed files with 34 additions and 20 deletions
|
@ -83,7 +83,7 @@ function collecturls($message) {
|
|||
$urls = array();
|
||||
foreach ($result as $treffer) {
|
||||
// A list of some links that should be ignored
|
||||
$list = array("/user/", "/tag/", "/group/", "/profile/", "/search?search=", "mailto:", "/u/", "/node/",
|
||||
$list = array("/user/", "/tag/", "/group/", "/profile/", "/search?search=", "/search?tag=", "mailto:", "/u/", "/node/",
|
||||
"//facebook.com/profile.php?id=", "//plus.google.com/");
|
||||
foreach ($list as $listitem)
|
||||
if (strpos($treffer[1], $listitem) !== false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue