diff options
author | Andrew Dolgov <[email protected]> | 2017-02-12 20:24:29 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-02-12 20:24:29 +0300 |
commit | 454292b2953a6e0f91e65107364a4f7b86dc25a5 (patch) | |
tree | d684794ece2568ec1cfd4e1a75e581cac38f691d | |
parent | 046a0cc7c87edeaf16f54f09f965d0ded2d7bbcb (diff) |
format_article_enclosures: allow embedding .jpeg files
-rw-r--r-- | include/functions2.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 = ''; |