diff options
| -rwxr-xr-x | greypool | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -637,13 +637,13 @@ sub print_report_header { <html> <head> <meta name="Generator" content="$SELF/$VERSION"> -<style> -EOF - print_css(); - print <<EOF; -</style> -<title> EOF + if($color_output) { + print "<style>\n"; + print_css(); + print "</style>\n"; + } + print "<title>\n"; } print "Repology status report for $email ($repo repository)\n\n"; print "</title>\n</head>\n<body>\n" if $html; @@ -795,7 +795,7 @@ tty device (e.g. not redirected to a file). =item B<-m>, B<--mono> B<--no-color>, B<--no-colour> Do no colorize the output, even if stdout is a terminal. This also -produces monochrome HTML pages, with the B<-h> / B<--html> option. +produces monochrome (unstyled) HTML pages, with the B<-h> / B<--html> option. =item B<-C>, B<--config-dir> I<directory> @@ -823,8 +823,8 @@ is not a web designer and doesn't want to be one. =item B<-H>, B<--html-fragment> -Like B<--html>, but I<just> the HTML table (no header, body tag, etc). -Suitable for embedding in another HTML page. +Like B<--html>, but I<just> the HTML table (no header, stylesheet, +body tag, etc). Suitable for embedding in another HTML page. =item B<-C>, B<--csv> |
