From: Joey Hess Date: Tue, 23 Sep 2008 18:57:13 +0000 (-0400) Subject: layout X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/8494104b395dc8b7bce045aec84460351c3efd1d?hp=dfe55e8956fdcb8ee11b85b238a7d27f42063746 layout --- diff --git a/IkiWiki/Plugin/rename.pm b/IkiWiki/Plugin/rename.pm index 77aed9556..d6079e198 100644 --- a/IkiWiki/Plugin/rename.pm +++ b/IkiWiki/Plugin/rename.pm @@ -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; }