aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-28 20:44:08 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-28 20:44:08 +0000
commitc72af182d87353cc520d29fe89e2cc91538b35bb (patch)
treea2b08455634fb9687363de68783d93779ae30625
parent9645f0ccbc970050c5cccc2d03e277614af36d8a (diff)
downloadikiwiki-c72af182d87353cc520d29fe89e2cc91538b35bb.tar
ikiwiki-c72af182d87353cc520d29fe89e2cc91538b35bb.tar.gz
case insensative image filenames
-rwxr-xr-xikiwiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/ikiwiki b/ikiwiki
index c5ac7c0b8..f801df29e 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -242,7 +242,7 @@ sub bestlink ($$) { #{{{
sub isinlinableimage ($) { #{{{
my $file=shift;
- $file=~/\.(png|gif|jpg|jpeg)$/;
+ $file=~/\.(png|gif|jpg|jpeg)$/i;
} #}}}
sub pagetitle ($) { #{{{