mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 09:15:55 +00:00
add support for image loading=lazy attribute
This commit is contained in:
@@ -1282,6 +1282,7 @@
|
||||
|
||||
if ($entry->nodeName == 'img') {
|
||||
$entry->setAttribute('referrerpolicy', 'no-referrer');
|
||||
$entry->setAttribute('loading', 'lazy');
|
||||
|
||||
$entry->removeAttribute('width');
|
||||
$entry->removeAttribute('height');
|
||||
|
||||
Reference in New Issue
Block a user