DiskCache::rewriteUrls() - remove img[@srcset]
This commit is contained in:
parent
9d852e052c
commit
75ab1f05f9
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue