]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/otl.pm
rename: Fix double-escaping of page name in edit box.
[git.ikiwiki.info.git] / IkiWiki / Plugin / otl.pm
index 94a2b80f6ef16048b6c5ff87e168255dd746145e..ef76d621549d44dd575fda54dfa1760bb5c4febd 100644 (file)
@@ -4,14 +4,24 @@ package IkiWiki::Plugin::otl;
 
 use warnings;
 use strict;
-use IkiWiki;
+use IkiWiki 2.00;
+use open qw{:utf8 :std};
 
 sub import { #{{{
+       hook(type => "getsetup", id => "otl", call => \&getsetup);
        hook(type => "filter", id => "otl", call => \&filter);
        hook(type => "htmlize", id => "otl", call => \&htmlize);
 
 } # }}}
 
+sub getsetup () { #{{{
+       return 
+               plugin => {
+                       safe => 1,
+                       rebuild => 1, # format plugin
+               },
+} #}}}
+
 sub filter (@) { #{{{
        my %params=@_;