Merge remote-tracking branch 'upstream/develop' into media-handling

This commit is contained in:
Michael 2021-04-26 09:01:26 +00:00
commit f25c3f4619
7 changed files with 290 additions and 8 deletions

View file

@ -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 '';
}