fix
parent
e01960e90a
commit
14002b58d2
|
@ -614,6 +614,8 @@ sub htmlize ($$$) { #{{{
|
|||
my $type=shift;
|
||||
my $content=shift;
|
||||
|
||||
my $oneline = $content !~ /\n/;
|
||||
|
||||
if (exists $hooks{htmlize}{$type}) {
|
||||
$content=$hooks{htmlize}{$type}{call}->(
|
||||
page => $page,
|
||||
|
@ -624,8 +626,6 @@ sub htmlize ($$$) { #{{{
|
|||
error("htmlization of $type not supported");
|
||||
}
|
||||
|
||||
my $oneline = $content !~ /\n/;
|
||||
|
||||
run_hooks(sanitize => sub {
|
||||
$content=shift->(
|
||||
page => $page,
|
||||
|
|
Loading…
Reference in New Issue