diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-09-23 13:39:21 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-09-23 13:39:21 -0400 |
commit | dfe55e8956fdcb8ee11b85b238a7d27f42063746 (patch) | |
tree | c82c0a2f05f719a7401b40eb4d49daede7d9ed17 /t | |
parent | 9cbcda14aca677008a7e2fe70463deda5cbdf34b (diff) | |
download | ikiwiki-dfe55e8956fdcb8ee11b85b238a7d27f42063746.tar ikiwiki-dfe55e8956fdcb8ee11b85b238a7d27f42063746.tar.gz |
Add keepextension parameter to htmlize hook. (Willu)
Diffstat (limited to 't')
-rwxr-xr-x | t/pagename.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/pagename.t b/t/pagename.t index 96e6a87f1..c7f1ce180 100755 --- a/t/pagename.t +++ b/t/pagename.t @@ -6,7 +6,7 @@ use Test::More tests => 5; BEGIN { use_ok("IkiWiki"); } # Used internally. -$IkiWiki::hooks{htmlize}{mdwn}=1; +$IkiWiki::hooks{htmlize}{mdwn}{call}=sub {}; is(pagename("foo.mdwn"), "foo"); is(pagename("foo/bar.mdwn"), "foo/bar"); |