From 454292b2953a6e0f91e65107364a4f7b86dc25a5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 12 Feb 2017 20:24:29 +0300 Subject: [PATCH] format_article_enclosures: allow embedding .jpeg files --- include/functions2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions2.php b/include/functions2.php index 75a3f8716..c779d0a8c 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 = '';