DiskCache::rewriteUrls() - remove img[@srcset]

This commit is contained in:
Andrew Dolgov 2019-08-15 09:30:28 +03:00
parent 9d852e052c
commit 75ab1f05f9
1 changed files with 3 additions and 1 deletions

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