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

This commit is contained in:
Michael
2021-04-26 09:01:26 +00:00
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 '';
}