]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Add pre tag to show content of log file.
authoreldy <>
Sun, 17 Feb 2013 13:12:56 +0000 (13:12 +0000)
committereldy <>
Sun, 17 Feb 2013 13:12:56 +0000 (13:12 +0000)
wwwroot/cgi-bin/awstats.pl

index 18a9a865108887b4d4bc3c656b2308ae9890b975..e84078c72e0a2acd8f6c5405abb9bd68c72e2afa 100644 (file)
@@ -1188,12 +1188,12 @@ sub error {
                        if ( $LogFormat == 4 ) {
                                print
 "${tagbold}\"common log format\"${tagunbold} like this:${tagbr}\n";
-                               print( scalar keys %HTMLOutput ? "$tagfontgrey<i>" : "" );
+                               print( scalar keys %HTMLOutput ? "$tagfontgrey<i><pre>" : "" );
                                print
 "111.22.33.44 - - [10/Jan/2001:02:14:14 +0200] \"GET / HTTP/1.1\" 200 1234\n";
                                print(
                                        scalar keys %HTMLOutput
-                                       ? "</i>$tagunfont${tagbr}${tagbr}\n"
+                                       ? "</pre></i>$tagunfont${tagbr}${tagbr}\n"
                                        : ""
                                );
                        }