mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 23:25:56 +00:00
Merge branch 'master' of git.fakecake.org:tt-rss
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user