summaryrefslogtreecommitdiffstats
path: root/assets/playground.html
diff options
context:
space:
mode:
Diffstat (limited to 'assets/playground.html')
-rw-r--r--assets/playground.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/playground.html b/assets/playground.html
index 011d632..1c1c294 100644
--- a/assets/playground.html
+++ b/assets/playground.html
@@ -198,6 +198,7 @@
.chat-message-content .error {
color: red;
+ background: none;
}
.chat-message-content .message-text {
@@ -1251,7 +1252,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>` : '');
}
</script>
</body>