format_article_enclosures: allow embedding .jpeg files
This commit is contained in:
parent
046a0cc7c8
commit
454292b295
|
@ -1998,7 +1998,7 @@
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (preg_match("/image/", $entry["type"]) ||
|
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) {
|
if (!$hide_images) {
|
||||||
$encsize = '';
|
$encsize = '';
|
||||||
|
|
Loading…
Reference in New Issue