]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/htmlbalance.pm
add Comments link when displaying a page inline
[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;
 
 use HTML::TreeBuilder;
 use HTML::Entities;
 
-sub import { #{{{
+sub import {
        hook(type => "getsetup", id => "htmlbalance", call => \&getsetup);
        hook(type => "sanitize", id => "htmlbalance", call => \&sanitize);
        hook(type => "getsetup", id => "htmlbalance", call => \&getsetup);
        hook(type => "sanitize", id => "htmlbalance", call => \&sanitize);
-} # }}}
+}
 
 
-sub getsetup () { #{{{
+sub getsetup () {
        return
                plugin => {
                        safe => 1,
                        rebuild => undef,
                },
        return
                plugin => {
                        safe => 1,
                        rebuild => undef,
                },
-} #}}}
+}
 
 
-sub sanitize (@) { #{{{
+sub sanitize (@) {
        my %params=@_;
        my $ret = '';
 
        my %params=@_;
        my $ret = '';
 
@@ -52,6 +52,6 @@ sub sanitize (@) { #{{{
        }
        $tree->delete();
        return $ret;
        }
        $tree->delete();
        return $ret;
-} # }}}
+}
 
 1
 
 1