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