From d71caffb7b249bded2ab1902953fa321dc90011c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 2 Nov 2008 12:21:15 -0500 Subject: preprocess text before htmlizing it --- IkiWiki/Plugin/format.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'IkiWiki/Plugin/format.pm') 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 -- cgit v1.2.3