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