projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fa050c
)
improve regexp
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 3 Jul 2006 23:59:34 +0000
(23:59 +0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 3 Jul 2006 23:59:34 +0000
(23:59 +0000)
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index c2c3aac83825aef47f8b8733ee561c3e2f9f2fbc..70d4a7a564326986329b47f135bdf656eba3618b 100644
(file)
--- 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;