From: Joey Hess Date: Sun, 2 Nov 2008 17:21:15 +0000 (-0500) Subject: preprocess text before htmlizing it X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/d71caffb7b249bded2ab1902953fa321dc90011c preprocess text before htmlizing it --- diff --git a/IkiWiki/Plugin/format.pm b/IkiWiki/Plugin/format.pm index a219190e8..1e21a0bdc 100644 --- a/IkiWiki/Plugin/format.pm +++ b/IkiWiki/Plugin/format.pm @@ -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