From e0eee70d8c6fff2ee54ab6b8d3d1e2bd945722b1 Mon Sep 17 00:00:00 2001 From: Dean Pemberton Date: Thu, 31 Jul 2008 12:33:56 +1200 Subject: [PATCH] More mail changes --- bin/mythtv-status | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/mythtv-status b/bin/mythtv-status index 3ea7cd6..86479d7 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -359,7 +359,7 @@ my @blocks = ( }, 'sub' => sub { my ($str, $str_html) = substitute_vars($_[0], { 'next_time' => $next_time }); - return $str; + return ($str); } }, @@ -436,11 +436,12 @@ my %version; my $exit_value = 0; my $title = "MythTV status for $host"; -my $title_html = "

MythTV status for $host

"; +my $title_html = "

MythTV status for $host


"; my $output = "$title\n"; my $html = "$title_html\n"; $output .= '=' x length($title) . "\n"; -$html .= '=' x length($title_html) . "\n"; + +$html .= "

" . '=' x length($title_html) . "


\n"; for my $block (@blocks) { $block->{'format'} ||= 'multi line'; -- 2.30.2