]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/textile.pm
Merge commit 'upstream/master' into pub/master
[git.ikiwiki.info.git] / IkiWiki / Plugin / textile.pm
index 208f295d2b16aeb37c4434253c46d48d66057222..bbd282f0c8dd09035f03eadc85fbd3ea0823cf7a 100644 (file)
@@ -10,9 +10,18 @@ use IkiWiki 2.00;
 use Encode;
 
 sub import { #{{{
 use Encode;
 
 sub import { #{{{
+       hook(type => "getsetup", id => "textile", call => \&getsetup);
        hook(type => "htmlize", id => "txtl", call => \&htmlize);
 } # }}}
 
        hook(type => "htmlize", id => "txtl", call => \&htmlize);
 } # }}}
 
+sub getsetup () { #{{{
+       return
+               plugin => {
+                       safe => 1,
+                       rebuild => 1, # format plugin
+               },
+} #}}}
+
 sub htmlize (@) { #{{{
        my %params=@_;
        my $content = decode_utf8(encode_utf8($params{content}));
 sub htmlize (@) { #{{{
        my %params=@_;
        my $content = decode_utf8(encode_utf8($params{content}));