},
'sub' => sub {
my ($str, $str_html) = substitute_vars($_[0], { 'next_time' => $next_time });
- return $str;
+ return ($str);
}
},
my $exit_value = 0;
my $title = "MythTV status for $host";
-my $title_html = "<h1>MythTV status for $host</h1>";
+my $title_html = "<h1>MythTV status for $host</h1><br>";
my $output = "$title\n";
my $html = "$title_html\n";
$output .= '=' x length($title) . "\n";
-$html .= '=' x length($title_html) . "\n";
+
+$html .= "<h1>" . '=' x length($title_html) . "</h1><br>\n";
for my $block (@blocks) {
$block->{'format'} ||= 'multi line';