From: Andrew Dolgov Date: Sun, 12 Feb 2017 17:24:29 +0000 (+0300) Subject: format_article_enclosures: allow embedding .jpeg files X-Git-Tag: 17.4~39 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=454292b2953a6e0f91e65107364a4f7b86dc25a5;p=tt-rss.git format_article_enclosures: allow embedding .jpeg files --- diff --git a/include/functions2.php b/include/functions2.php index 75a3f871..c779d0a8 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -1998,7 +1998,7 @@ } else { if (preg_match("/image/", $entry["type"]) || - preg_match("/\.(jpg|png|gif|bmp)/i", $entry["filename"])) { + preg_match("/\.(jpe?g|png|gif|bmp)/i", $entry["filename"])) { if (!$hide_images) { $encsize = '';