]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/format.pm
po: added postscan hook, to make pages depend on the pages linking to them
[ikiwiki.git] / IkiWiki / Plugin / format.pm
index 1e21a0bdc59d01b1768e04a812b6fd59e4afb7b1..b4d3a3c5ffefc2c79c91be0ff207159614d0bb22 100644 (file)
@@ -5,11 +5,11 @@ use warnings;
 use strict;
 use IkiWiki 2.00;
 
-sub import { #{{{
+sub import {
        hook(type => "preprocess", id => "format", call => \&preprocess);
-} #}}}
+}
 
-sub preprocess (@) { #{{{
+sub preprocess (@) {
        my $format=$_[0];
        shift; shift;
        my $text=$_[0];
@@ -25,6 +25,6 @@ sub preprocess (@) { #{{{
 
        return IkiWiki::htmlize($params{page}, $params{destpage}, $format,
                IkiWiki::preprocess($params{page}, $params{destpage}, $text));
-} #}}}
+}
 
 1