summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-03 23:59:34 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-03 23:59:34 +0000
commitad6f4c525311f786769e233baf9913eea5303ec0 (patch)
tree71b571c9171e82930fe8098d7c5f6a6375741083
parent5fa050cea05c7a9210e9dabbebbc2e54de66fc21 (diff)
improve regexp
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index c2c3aac83..70d4a7a56 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -123,7 +123,7 @@ sub dirname ($) { #{{{
sub pagetype ($) { #{{{
my $page=shift;
- if ($page =~ /\.(.*)$/) {
+ if ($page =~ /\.(.*?)$/) {
return $1 if exists $hooks{htmlize}{$1};
}
return undef;