master
Joey Hess 2008-01-09 14:45:07 -05:00
parent e01960e90a
commit 14002b58d2
1 changed files with 2 additions and 2 deletions

View File

@ -613,6 +613,8 @@ sub htmlize ($$$) { #{{{
my $page=shift;
my $type=shift;
my $content=shift;
my $oneline = $content !~ /\n/;
if (exists $hooks{htmlize}{$type}) {
$content=$hooks{htmlize}{$type}{call}->(
@ -624,8 +626,6 @@ sub htmlize ($$$) { #{{{
error("htmlization of $type not supported");
}
my $oneline = $content !~ /\n/;
run_hooks(sanitize => sub {
$content=shift->(
page => $page,