]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/htmltidy.pm
please don't make use of [[!meta title]] in parentlinks mandatory...
[git.ikiwiki.info.git] / IkiWiki / Plugin / htmltidy.pm
index 9ba5e9592b0c84482e01175c5881f901315a4397..6f3379ef457bddb7387c8485427ec88d51f5b0c5 100644 (file)
@@ -9,23 +9,23 @@ package IkiWiki::Plugin::htmltidy;
 
 use warnings;
 use strict;
-use IkiWiki 2.00;
+use IkiWiki 3.00;
 use IPC::Open2;
 
-sub import { #{{{
+sub import {
        hook(type => "getsetup", id => "tidy", call => \&getsetup);
        hook(type => "sanitize", id => "tidy", call => \&sanitize);
-} # }}}
+}
 
-sub getsetup () { #{{{
+sub getsetup () {
        return
                plugin => {
                        safe => 1,
                        rebuild => undef,
                },
-} #}}}
+}
 
-sub sanitize (@) { #{{{
+sub sanitize (@) {
        my %params=@_;
 
        my $pid;
@@ -49,6 +49,6 @@ sub sanitize (@) { #{{{
        return "" if $sigpipe || ! defined $ret;
 
        return $ret;
-} # }}}
+}
 
 1