diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-04 16:34:33 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-04 16:34:33 -0400 |
commit | a29f169b1e51feeee83d93fa5713c71e61f2b85c (patch) | |
tree | 852f73f40a98abeaf266d102b26a347d41a7ab37 | |
parent | f025923d146adc83dd67265b4ae58a7f3e5cb8ab (diff) |
indentation
-rw-r--r-- | IkiWiki.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index aa4dccac3..466907c9d 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -717,7 +717,7 @@ sub pagename ($) { my $type=pagetype($file); my $page=$file; - $page=~s/\Q.$type\E*$// + $page=~s/\Q.$type\E*$// if defined $type && !$hooks{htmlize}{$type}{keepextension} && !$hooks{htmlize}{$type}{noextension}; if ($config{indexpages} && $page=~/(.*)\/index$/) { @@ -1124,7 +1124,7 @@ sub isselflink ($$) { my $page=shift; my $link=shift; - return $page eq $link; + return $page eq $link; } sub htmllink ($$$;@) { |