Merge branch 'master' of git.tt-rss.org:fox/tt-rss
This commit is contained in:
commit
d43b6563ef
1 changed files with 8 additions and 0 deletions
8
include/functions2.php
Executable file → Normal file
8
include/functions2.php
Executable file → Normal file
|
@ -912,6 +912,14 @@
|
|||
|
||||
if (file_exists($cached_filename)) {
|
||||
$src = SELF_URL_PATH . '/public.php?op=cached_image&hash=' . sha1($src);
|
||||
|
||||
if ($entry->hasAttribute('srcset')) {
|
||||
$entry->removeAttribute('srcset');
|
||||
}
|
||||
|
||||
if ($entry->hasAttribute('sizes')) {
|
||||
$entry->removeAttribute('sizes');
|
||||
}
|
||||
}
|
||||
|
||||
$entry->setAttribute('src', $src);
|
||||
|
|
Loading…
Reference in a new issue