]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/textile.pm
call preprocess in scan mode hooks before scan hooks
[git.ikiwiki.info.git] / IkiWiki / Plugin / textile.pm
index b604aa3c52ab1d0fe34b686a4634920ac6310dc6..56bb4bffce83bf9fa47b1ad731f46c8dc8d9f652 100644 (file)
@@ -11,7 +11,7 @@ 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, longname => "Textile");
 }
 
 sub getsetup () {
@@ -19,6 +19,7 @@ sub getsetup () {
                plugin => {
                        safe => 1,
                        rebuild => 1, # format plugin
+                       section => "format",
                },
 }