layout
[ikiwiki.git] / 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;
                                }