summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-02-12 20:24:29 +0300
committerAndrew Dolgov <[email protected]>2017-02-12 20:24:29 +0300
commit454292b2953a6e0f91e65107364a4f7b86dc25a5 (patch)
treed684794ece2568ec1cfd4e1a75e581cac38f691d /include
parent046a0cc7c87edeaf16f54f09f965d0ded2d7bbcb (diff)
format_article_enclosures: allow embedding .jpeg files
Diffstat (limited to 'include')
-rw-r--r--include/functions2.php2
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 = '';