case insensative image filenames
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 28 Mar 2006 20:44:08 +0000 (20:44 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 28 Mar 2006 20:44:08 +0000 (20:44 +0000)
ikiwiki

diff --git a/ikiwiki b/ikiwiki
index c5ac7c0b824549d5ef895953fd6b93b04784950a..f801df29e8a7c206a4e6329136fb44a7c44af5b1 100755 (executable)
--- 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 ($) { #{{{