aboutsummaryrefslogtreecommitdiff
path: root/lib/lib_rss.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-02-21 00:38:14 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-02-21 00:38:14 +0100
commit67dfeeb3972b9c89f37bbeb6e218cdf486bd5026 (patch)
tree5b5273e9ec03d0c7637f666e40343211092a885f /lib/lib_rss.php
parent83164933849b1687bc16078bad1ce3c198819502 (diff)
parent5a80127140f78d13f762facb4017e5ada965eca6 (diff)
Merge pull request #1086 from Alkarex/srcset-quickfix
Filter out img sizes
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index e7e59fe65..7d92b6fd7 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -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', 'srcset')));
+ 'onkeypress', 'onkeydown', 'onkeyup', 'onselect', 'onchange', 'seamless', 'sizes', 'srcset')));
$simplePie->add_attributes(array(
'img' => array('lazyload' => '', 'postpone' => ''), //http://www.w3.org/TR/resource-priorities/
'audio' => array('lazyload' => '', 'postpone' => '', 'preload' => 'none'),