format_article_enclosures: allow embedding .jpeg files

This commit is contained in:
Andrew Dolgov 2017-02-12 20:24:29 +03:00
parent 046a0cc7c8
commit 454292b295

View file

@ -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 = '';