mirror of
https://github.com/friendica/friendica
synced 2025-05-02 21:04:24 +02:00
Merge remote-tracking branch 'upstream/develop' into media-handling
This commit is contained in:
commit
f25c3f4619
7 changed files with 290 additions and 8 deletions
|
@ -292,7 +292,8 @@ class PageInfo
|
|||
}
|
||||
|
||||
// Stripping link labels that include a shortened version of the URL
|
||||
if (strpos($url, trim($match[1], '.…')) !== false) {
|
||||
$trimMatch = trim($match[1], '.…');
|
||||
if (!empty($trimMatch) && strpos($url, $trimMatch) !== false) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue