]> sipb.mit.edu Git - ikiwiki.git/commitdiff
preprocess text before htmlizing it
authorJoey Hess <joey@kodama.kitenet.net>
Sun, 2 Nov 2008 17:21:15 +0000 (12:21 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Sun, 2 Nov 2008 17:21:15 +0000 (12:21 -0500)
IkiWiki/Plugin/format.pm

index a219190e820a4f579a389c223a536a371e357ef7..1e21a0bdc59d01b1768e04a812b6fd59e4afb7b1 100644 (file)
@@ -23,7 +23,8 @@ sub preprocess (@) { #{{{
                error(sprintf(gettext("unsupported page format %s"), $format));
        }
 
-       return IkiWiki::htmlize($params{page}, $params{destpage}, $format, $text);
+       return IkiWiki::htmlize($params{page}, $params{destpage}, $format,
+               IkiWiki::preprocess($params{page}, $params{destpage}, $text));
 } #}}}
 
 1