aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2016-05-08 18:26:15 -0400
committerAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2016-05-08 18:31:02 -0400
commit89af9ecc575c3e7223b0e6bea57f82872f5caa9f (patch)
treeca9816a9b6162df186ea64d720ec562dd8b5bbf1 /IkiWiki
parente24e6fed623661ce46bd739d1c9be0876d67baaa (diff)
downloadikiwiki-89af9ecc575c3e7223b0e6bea57f82872f5caa9f.tar
ikiwiki-89af9ecc575c3e7223b0e6bea57f82872f5caa9f.tar.gz
Detect image type from .JPG just like .jpg (etc.).
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/img.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/img.pm b/IkiWiki/Plugin/img.pm
index c3dc41474..740c44f96 100644
--- a/IkiWiki/Plugin/img.pm
+++ b/IkiWiki/Plugin/img.pm
@@ -89,7 +89,7 @@ sub preprocess (@) {
my $extension;
my $format;
- if ($base =~ m/\.([a-z0-9]+)$/) {
+ if ($base =~ m/\.([a-z0-9]+)$/is) {
$extension = $1;
}
else {