diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-11-02 12:21:15 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-11-02 12:21:15 -0500 |
commit | d71caffb7b249bded2ab1902953fa321dc90011c (patch) | |
tree | 418cd25b11c3800f22f2cb72740e7c87055697b9 /IkiWiki/Plugin | |
parent | 98a5bd23d3004c36b16ccdcdb968ff50ee35f802 (diff) |
preprocess text before htmlizing it
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/format.pm | 3 |
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 |