]> git.zerfleddert.de Git - upsgraph/commitdiff
Add linebreaks to HTML output
authorBenjamin Oechslein <benjamin.oechslein@informatik.uni-erlangen.de>
Fri, 9 Jan 2015 21:12:59 +0000 (22:12 +0100)
committerBenjamin Oechslein <benjamin.oechslein@informatik.uni-erlangen.de>
Fri, 9 Jan 2015 21:29:49 +0000 (22:29 +0100)
upsgraph.pl

index 954b8b0795c8e39607dfa4f045aa0b0485707ebf..0d19fb6cd0fae054eae8e579af8819044d408d24 100755 (executable)
@@ -473,7 +473,7 @@ while(1) {
                                }
                        }
 
                                }
                        }
 
-                       print HTML2 "<img src=\"${hostname}.${var}.long.png\" width=\"${width}\" height=\"${height}\"><br>";
+                       print HTML2 "<img src=\"${hostname}.${var}.long.png\" width=\"${width}\" height=\"${height}\"><br>\n";
 
                        $mtime=(stat("${outdir}/${hostname}.${var}.week.png.work"))[9];
                        ($averages, $width, $height) =
 
                        $mtime=(stat("${outdir}/${hostname}.${var}.week.png.work"))[9];
                        ($averages, $width, $height) =
@@ -490,7 +490,7 @@ while(1) {
                                }
                        }
 
                                }
                        }
 
-                       print HTML2 "<img src=\"${hostname}.${var}.week.png\" width=\"${width}\" height=\"${height}\"><br>";
+                       print HTML2 "<img src=\"${hostname}.${var}.week.png\" width=\"${width}\" height=\"${height}\"><br>\n";
 
                        $mtime=(stat("${outdir}/${hostname}.${var}.year.png.work"))[9];
                        ($averages, $width, $height) =
 
                        $mtime=(stat("${outdir}/${hostname}.${var}.year.png.work"))[9];
                        ($averages, $width, $height) =
@@ -507,7 +507,7 @@ while(1) {
                                }
                        }
 
                                }
                        }
 
-                       print HTML2 "<img src=\"${hostname}.${var}.year.png\" width=\"${width}\" height=\"${height}\"><br>";
+                       print HTML2 "<img src=\"${hostname}.${var}.year.png\" width=\"${width}\" height=\"${height}\"><br>\n";
 
                        print HTML2 "</body></html>\n";
                        close(HTML2);
 
                        print HTML2 "</body></html>\n";
                        close(HTML2);
Impressum, Datenschutz