testbot/web: Fix handling of tasks error messages.

Francois Gouget fgouget at codeweavers.com
Wed May 7 09:35:37 CDT 2014


The <pre><code> tag nesting was broken for the error messages, resulting 
in unreadable multi-line error messages and an inability to view the 
later tasks reports.
---
 testbot/web/JobDetails.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testbot/web/JobDetails.pl b/testbot/web/JobDetails.pl
index b1a3186..04ec3c5 100644
--- a/testbot/web/JobDetails.pl
+++ b/testbot/web/JobDetails.pl
@@ -402,10 +402,10 @@ sub GenerateBody
             {
               print "</code></pre>\n";
             }
+            print "<br><pre><code>";
             $PrintedDll = $CurrentDll;
           }
-          print "<br>\n";
-          print "<pre><code>", $self->escapeHTML($Line), "\n";
+          print $self->escapeHTML($Line), "\n";
         }
         close ERRFILE;
       }
-- 
2.0.0.rc0




More information about the wine-patches mailing list