[LNT] r286391 - Put log messages in pre tags

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 12:38:00 PST 2016


Author: cmatthews
Date: Wed Nov  9 14:38:00 2016
New Revision: 286391

URL: http://llvm.org/viewvc/llvm-project?rev=286391&view=rev
Log:
Put log messages in pre tags

It is annoying that wrapped messages like exceptions lose their new
lines.

Modified:
    lnt/trunk/lnt/server/ui/templates/log.html

Modified: lnt/trunk/lnt/server/ui/templates/log.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/log.html?rev=286391&r1=286390&r2=286391&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/log.html (original)
+++ lnt/trunk/lnt/server/ui/templates/log.html Wed Nov  9 14:38:00 2016
@@ -27,7 +27,7 @@
     {% endif %}
       <td>{{ item.levelname}}</td>
       <td>{{item.filename}}:{{item.lineno}}</td>
-      <td>{{ item.msg }}</td>
+      <td><pre>{{ item.msg }}</pre></td>
     </tr>
 {% endfor %}
 




More information about the llvm-commits mailing list