]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/htmltidy.pm
filecheck: Fixed two bits broken in move from attachment.
[git.ikiwiki.info.git] / IkiWiki / Plugin / htmltidy.pm
index 9591fbe04b3d7a9ef5a0718fc3bc8ff36b1741a3..d9aaba4ca1f4e7c6d3ed631089584071df5a2b3f 100644 (file)
@@ -13,9 +13,18 @@ use IkiWiki 2.00;
 use IPC::Open2;
 
 sub import { #{{{
+       hook(type => "getsetup", id => "tidy", call => \&getsetup);
        hook(type => "sanitize", id => "tidy", call => \&sanitize);
 } # }}}
 
+sub getsetup () { #{{{
+       return
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+               },
+} #}}}
+
 sub sanitize (@) { #{{{
        my %params=@_;