]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/hnb.pm
remove redundant use
[git.ikiwiki.info.git] / IkiWiki / Plugin / hnb.pm
index 846b0f2c9333f27c2356fecca9d679cba8159964..bd2177a06a1217de57700c40de641e9794133b5f 100644 (file)
@@ -10,13 +10,22 @@ package IkiWiki::Plugin::hnb;
 
 use warnings;
 use strict;
-use IkiWiki 2.00;
+use IkiWiki 3.00;
 use File::Temp qw(:mktemp);
 
 sub import {
+       hook(type => "getsetup", id => "hnb", call => \&getsetup);
        hook(type => "htmlize", id => "hnb", call => \&htmlize);
 }
 
+sub getsetup () {
+       return
+               plugin => {
+                       safe => 1,
+                       rebuild => 1, # format plugin
+               },
+}
+
 sub htmlize (@) {
        my %params = @_;