X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=lib%2FPackages%2FCGI.pm;fp=lib%2FPackages%2FCGI.pm;h=cc92e64d6f748c6496c7e0205f7df733a62692a7;hp=d9aceeb35eafd2dd627e503774b65caa60e0578b;hb=ef769eaccb9ebf7f49b8c3240c9c4d6980072ee5;hpb=15ff8be69313dffae9e18b9fde479a3e74ea1ad3 diff --git a/lib/Packages/CGI.pm b/lib/Packages/CGI.pm index d9aceeb..cc92e64 100644 --- a/lib/Packages/CGI.pm +++ b/lib/Packages/CGI.pm @@ -35,7 +35,7 @@ sub note { } sub print_errors { return unless @fatal_errors || @errors; - print '
'; + print '
'; foreach ((@fatal_errors, @errors)) { print "

ERROR: $_

"; } @@ -43,7 +43,7 @@ sub print_errors { } sub print_debug { return unless $debug && @debug; - print '
'; + print '
'; print '

Debugging:

';
     foreach (@debug) {
 	print "$_\n";
@@ -52,7 +52,7 @@ sub print_debug {
 }
 sub print_hints {
     return unless @hints;
-    print '
'; + print '
'; foreach (@hints) { print "

$_

"; } @@ -67,7 +67,7 @@ sub print_notes { foreach (@notes) { my ( $title, $note ) = @$_; - print '
'; + print '
'; if ($note) { print "

$title

"; } else {