From 1c46ea617272124eae806cd59532ae86822eaf4f Mon Sep 17 00:00:00 2001 From: Benjamin Oechslein Date: Fri, 9 Jan 2015 22:12:59 +0100 Subject: [PATCH 1/1] Add linebreaks to HTML output --- upsgraph.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/upsgraph.pl b/upsgraph.pl index 954b8b0..0d19fb6 100755 --- a/upsgraph.pl +++ b/upsgraph.pl @@ -473,7 +473,7 @@ while(1) { } } - print HTML2 "
"; + print HTML2 "
\n"; $mtime=(stat("${outdir}/${hostname}.${var}.week.png.work"))[9]; ($averages, $width, $height) = @@ -490,7 +490,7 @@ while(1) { } } - print HTML2 "
"; + print HTML2 "
\n"; $mtime=(stat("${outdir}/${hostname}.${var}.year.png.work"))[9]; ($averages, $width, $height) = @@ -507,7 +507,7 @@ while(1) { } } - print HTML2 "
"; + print HTML2 "
\n"; print HTML2 "\n"; close(HTML2); -- 2.39.5