add support for image loading=lazy attribute
This commit is contained in:
parent
47135160d1
commit
06b9d39662
|
@ -1282,6 +1282,7 @@
|
|||
|
||||
if ($entry->nodeName == 'img') {
|
||||
$entry->setAttribute('referrerpolicy', 'no-referrer');
|
||||
$entry->setAttribute('loading', 'lazy');
|
||||
|
||||
$entry->removeAttribute('width');
|
||||
$entry->removeAttribute('height');
|
||||
|
|
Loading…
Reference in New Issue