mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 13:24:37 -04:00
Filter-out img srcset for the time being
https://github.com/FreshRSS/FreshRSS/issues/1077
This commit is contained in:
@@ -209,7 +209,7 @@ function customSimplePie() {
|
||||
$simplePie->strip_attributes(array_merge($simplePie->strip_attributes, array(
|
||||
'autoplay', 'onload', 'onunload', 'onclick', 'ondblclick', 'onmousedown', 'onmouseup',
|
||||
'onmouseover', 'onmousemove', 'onmouseout', 'onfocus', 'onblur',
|
||||
'onkeypress', 'onkeydown', 'onkeyup', 'onselect', 'onchange', 'seamless')));
|
||||
'onkeypress', 'onkeydown', 'onkeyup', 'onselect', 'onchange', 'seamless', 'srcset')));
|
||||
$simplePie->add_attributes(array(
|
||||
'img' => array('lazyload' => '', 'postpone' => ''), //http://www.w3.org/TR/resource-priorities/
|
||||
'audio' => array('lazyload' => '', 'postpone' => '', 'preload' => 'none'),
|
||||
|
||||
Reference in New Issue
Block a user