mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 00:25:56 +00:00
when choosing enclosures to embed or rewrite (af_zz_imgproxy) only use content type instead of "filename"-based hacks
This commit is contained in:
@@ -2000,8 +2000,7 @@
|
||||
$rv .= $retval;
|
||||
} else {
|
||||
|
||||
if (preg_match("/image/", $entry["type"]) ||
|
||||
preg_match("/\.(jpe?g|png|gif|bmp)/i", $entry["filename"])) {
|
||||
if (preg_match("/image/", $entry["type"])) {
|
||||
|
||||
if (!$hide_images) {
|
||||
$encsize = '';
|
||||
|
||||
Reference in New Issue
Block a user