Commit 3d7db216 authored by Andrew Dolgov's avatar Andrew Dolgov

Merge branch 'master' of git.fakecake.org:tt-rss

parents 1aeb282b 8babb8e7
......@@ -1596,6 +1596,9 @@
if ($entry->nodeName == 'img') {
$entry->setAttribute('referrerpolicy', 'no-referrer');
$entry->removeAttribute('width');
$entry->removeAttribute('height');
if ($entry->hasAttribute('src')) {
$is_https_url = parse_url($entry->getAttribute('src'), PHP_URL_SCHEME) === 'https';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment