summaryrefslogtreecommitdiffstats
path: root/assets/arena.html
diff options
context:
space:
mode:
Diffstat (limited to 'assets/arena.html')
-rw-r--r--assets/arena.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/arena.html b/assets/arena.html
index 90cc6af..80e1397 100644
--- a/assets/arena.html
+++ b/assets/arena.html
@@ -121,6 +121,7 @@
.chat-message-content .error {
color: red;
+ background: none;
}
.chat-message-content .message-text {
@@ -1028,7 +1029,7 @@
}
function renderMarkdown(text, error = '') {
- return marked.marked(text) + (error ? `<p class="error">${error}</p>` : '');
+ return marked.marked(text) + (error ? `<pre class="error">${error}</pre>` : '');
}
function calculateOffsets(pieces) {