mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 13:45:56 +00:00
DiskCache::rewriteUrls() - remove img[@srcset]
This commit is contained in:
@@ -107,8 +107,10 @@ class DiskCache {
|
|||||||
|
|
||||||
if ($entry->hasAttribute('poster'))
|
if ($entry->hasAttribute('poster'))
|
||||||
$entry->setAttribute('poster', $src);
|
$entry->setAttribute('poster', $src);
|
||||||
else
|
else {
|
||||||
$entry->setAttribute('src', $src);
|
$entry->setAttribute('src', $src);
|
||||||
|
$entry->removeAttribute("srcset");
|
||||||
|
}
|
||||||
|
|
||||||
$need_saving = true;
|
$need_saving = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user