diff options
| author | 2016-02-17 00:19:49 +0100 | |
|---|---|---|
| committer | 2016-02-17 00:19:49 +0100 | |
| commit | 86e113ba80c395b60fc016228b11dd56636a85d7 (patch) | |
| tree | 76b3eeeaa97b26284dc25edfce90043b5c5fb9e7 /lib | |
| parent | ad54c6624c3adddc345688f97c80b19dfc523ded (diff) | |
Filter-out img srcset for the time being
https://github.com/FreshRSS/FreshRSS/issues/1077
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lib_rss.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index b0189c162..e7e59fe65 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'))); + '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'), |
