]> sipb.mit.edu Git - ikiwiki.git/commitdiff
layout
authorJoey Hess <joey@kodama.kitenet.net>
Tue, 23 Sep 2008 18:57:13 +0000 (14:57 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 23 Sep 2008 18:57:13 +0000 (14:57 -0400)
IkiWiki/Plugin/rename.pm

index 77aed9556902d9344c85e0f5c7b0eedf180b0476..d6079e198266cf06af8e01a9a9fe351b3c7d1b8d 100644 (file)
@@ -254,7 +254,8 @@ sub sessioncgi ($$) { #{{{
                                my $type=$q->param('type');
                                if (defined $type && length $type && $IkiWiki::hooks{htmlize}{$type}) {
                                        $type=IkiWiki::possibly_foolish_untaint($type);
-                               } else {
+                               }
+                               else {
                                        my ($ext)=$srcfile=~/\.([^.]+)$/;
                                        $type=$ext;
                                }