add support for image loading=lazy attribute

master
Andrew Dolgov 5 years ago
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…
Cancel
Save