Use <pre> around exception stack traces to preserve whitespace and use a
fixed-width font.

Patch by: jat
Review by: spoon (desk)


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@6121 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/oophm/src/com/google/gwt/dev/shell/log/SwingTreeLogger.java b/dev/oophm/src/com/google/gwt/dev/shell/log/SwingTreeLogger.java
index 520769c..c7a4a79 100644
--- a/dev/oophm/src/com/google/gwt/dev/shell/log/SwingTreeLogger.java
+++ b/dev/oophm/src/com/google/gwt/dev/shell/log/SwingTreeLogger.java
@@ -113,7 +113,7 @@
       // Show the exception info for anything other than "UnableToComplete".
       //
       if (exceptionDetail != null) {
-        sb.append(htmlEscape(exceptionDetail));
+        sb.append("<pre>" + htmlEscape(exceptionDetail) + "</pre>");
       }
       if (helpInfo != null) {
         URL url = helpInfo.getURL();