1
0
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:
Andrew Dolgov
2019-08-15 09:30:28 +03:00
parent 9d852e052c
commit 75ab1f05f9

View File

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