diff --git a/common/css/xe.css b/common/css/xe.css index 680013067..c02a052e5 100644 --- a/common/css/xe.css +++ b/common/css/xe.css @@ -411,6 +411,9 @@ button.btn { word-wrap: break-word; word-break: break-all; } +#rhymix_debug_panel .debug_page .debug_entry.pre_wrap { + white-space: pre-wrap; +} #rhymix_debug_panel .debug_page .debug_entry ul.debug_metadata { margin: 0 0 0 -16px; padding: 0; } diff --git a/common/js/debug.js b/common/js/debug.js index d14b28d13..1eaabfd0d 100644 --- a/common/js/debug.js +++ b/common/js/debug.js @@ -84,7 +84,7 @@ $(function() { if (data.entries && data.entries.length) { page_body.append($('

').text('Debug Entries (' + data.entries.length + ')')); for (i in data.entries) { - entry = $('
').appendTo(page_body); + entry = $('
').appendTo(page_body); num = parseInt(i) + 1; if (num < 10) num = "0" + num; entry.text(num + ". " + data.entries[i].message); backtrace = $('').appendTo(entry);