summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-11-02 12:21:15 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-11-02 12:21:15 -0500
commitd71caffb7b249bded2ab1902953fa321dc90011c (patch)
tree418cd25b11c3800f22f2cb72740e7c87055697b9 /IkiWiki/Plugin
parent98a5bd23d3004c36b16ccdcdb968ff50ee35f802 (diff)
preprocess text before htmlizing it
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/format.pm3
1 files changed, 2 insertions, 1 deletions
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