From 0b31a78cf27a01ec0a9058e08c04bab7308b5573 Mon Sep 17 00:00:00 2001 From: "David F. Skoll" Date: Tue, 16 Oct 2007 11:46:58 -0400 Subject: [PATCH] Patch to clean up HTML output (Jorey Bump) --- www/rem2html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/www/rem2html b/www/rem2html index 95d06cc8..b4d4a294 100755 --- a/www/rem2html +++ b/www/rem2html @@ -471,9 +471,9 @@ sub draw_day_cell $shade = ""; } if ($class ne '') { - print "\n

"; + print "\n"; } else { - print "\n

"; + print "\n"; } if ($moons->[$day]) { my $phase = $moons->[$day]->{'phase'}; @@ -513,11 +513,10 @@ sub draw_day_cell } if ($Options{'nostyle'}) { - print "

$day

\n"; + print "
$day
\n"; print "

 

\n"; } else { - print "
$day

\n"; - print "

 

\n"; + print "
$day
\n"; } if ($days->[$day]) { print(join("\n", @{$days->[$day]})); @@ -561,7 +560,7 @@ while(1) { } if ($found_something) { end_output(); - exit(1); + exit(0); } else { print STDERR "$TIDY_PROGNAME: Could not find any calendar data on STDIN.\n"; exit(1);