Skip to content

Commit 20ac60e

Browse files
committed
<pre> around error message so ^ lines up
1 parent 8f0cd00 commit 20ac60e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

www/test.jsp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,9 @@
9999
{
100100
pw.println("\t\t<tr>");
101101
pw.println("\t\t\t<td>Compile error</td>");
102-
pw.print("\t\t\t<td>");
103-
//ImgUtil.appendIcon(out, "stop", "error");
104-
pw.print(' ');
102+
pw.print("\t\t\t<td><pre>");
105103
pw.print(StringEscapeUtils.escapeHtml4(e.getMessage()));
106-
pw.println("</td>");
104+
pw.println("</pre></td>");
107105
pw.println("\t\t</tr>");
108106
retVal.put("message", e.getMessage());
109107
}

0 commit comments

Comments
 (0)