]> git.wh0rd.org - tt-rss.git/commitdiff
format_article_enclosures: allow embedding .jpeg files
authorAndrew Dolgov <noreply@fakecake.org>
Sun, 12 Feb 2017 17:24:29 +0000 (20:24 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sun, 12 Feb 2017 17:24:29 +0000 (20:24 +0300)
include/functions2.php

index 75a3f8716952fc1ff51eff18c9517bd53a44fd6a..c779d0a8cbabc7b7f6104f0e892bc7cb5ca8e7f8 100644 (file)
                                                } 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 = '';