preprocess text before htmlizing it

master
Joey Hess 2008-11-02 12:21:15 -05:00
parent 98a5bd23d3
commit d71caffb7b
1 changed files with 2 additions and 1 deletions

View 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