]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/rawhtml.pm
rename: implemented new canrename hook
[git.ikiwiki.info.git] / IkiWiki / Plugin / rawhtml.pm
index 74ca13f3bcac3b1041fd73a1c35ea43e1729aed8..ad8a610c1420f73a3ce0eabf30f9300afcdff5a4 100644 (file)
@@ -4,19 +4,19 @@ package IkiWiki::Plugin::rawhtml;
 
 use warnings;
 use strict;
 
 use warnings;
 use strict;
-use IkiWiki 2.00;
+use IkiWiki 3.00;
 
 
-sub import { #{{{
+sub import {
        hook(type => "getsetup", id => "rawhtml", call => \&getsetup);
        $config{wiki_file_prune_regexps} = [ grep { !m/\\\.x\?html\?\$/ } @{$config{wiki_file_prune_regexps}} ];
        hook(type => "getsetup", id => "rawhtml", call => \&getsetup);
        $config{wiki_file_prune_regexps} = [ grep { !m/\\\.x\?html\?\$/ } @{$config{wiki_file_prune_regexps}} ];
-} # }}}
+}
 
 
-sub getsetup () { #{{{
+sub getsetup () {
        return 
                plugin => {
                        safe => 1,
                        rebuild => 1, # changes file types
                },
        return 
                plugin => {
                        safe => 1,
                        rebuild => 1, # changes file types
                },
-} #}}}
+}
 
 1
 
 1