]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/testpagespec.pm
inline: Run format hook first
[ikiwiki.git] / IkiWiki / Plugin / testpagespec.pm
index 9f9b50f017bb5cb75a5ed1155984531d082d200d..a6e94dbbb5a2e88867a4ac03d49d65b141949446 100644 (file)
@@ -5,20 +5,20 @@ use warnings;
 use strict;
 use IkiWiki 2.00;
 
-sub import { #{{{
+sub import {
        hook(type => "getsetup", id => "testpagespec", call => \&getsetup);
        hook(type => "preprocess", id => "testpagespec", call => \&preprocess);
-} # }}}
+}
 
-sub getsetup () { #{{{
+sub getsetup () {
        return
                plugin => {
                        safe => 1,
                        rebuild => undef,
                },
-} #}}}
+}
 
-sub preprocess (@) { #{{{
+sub preprocess (@) {
        my %params=@_;
        
        foreach my $param (qw{match pagespec}) {
@@ -37,6 +37,6 @@ sub preprocess (@) { #{{{
        else {
                return "no match: $ret";
        }
-} # }}}
+}
 
 1