]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/htmlbalance.pm
po: added postscan hook, to make pages depend on the pages linking to them
[git.ikiwiki.info.git] / IkiWiki / Plugin / htmlbalance.pm
index dcd92055fbebcdeefdbf07d45337e7f0b2f9e360..acbe40a5d6ea9f3e071c9e9199c677e1cbdbf6b7 100644 (file)
@@ -13,20 +13,20 @@ use IkiWiki 2.00;
 use HTML::TreeBuilder;
 use HTML::Entities;
 
-sub import { #{{{
+sub import {
        hook(type => "getsetup", id => "htmlbalance", call => \&getsetup);
        hook(type => "sanitize", id => "htmlbalance", call => \&sanitize);
-} # }}}
+}
 
-sub getsetup () { #{{{
+sub getsetup () {
        return
                plugin => {
                        safe => 1,
                        rebuild => undef,
                },
-} #}}}
+}
 
-sub sanitize (@) { #{{{
+sub sanitize (@) {
        my %params=@_;
        my $ret = '';
 
@@ -52,6 +52,6 @@ sub sanitize (@) { #{{{
        }
        $tree->delete();
        return $ret;
-} # }}}
+}
 
 1