format_article_enclosures: allow embedding .jpeg files
This commit is contained in:
parent
046a0cc7c8
commit
454292b295
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue