diff --git a/bot/static/js/status.js b/bot/static/js/status.js index a40b07d..b9da96c 100644 --- a/bot/static/js/status.js +++ b/bot/static/js/status.js @@ -184,7 +184,7 @@ function renderPromptEntry(entry) { if (_middleTruncation && responseText.length > 400) { responseText = responseText.substring(0, 200) + '\n\n... [truncated middle] ...\n\n' + responseText.substring(responseText.length - 200); } - displayHtml += buildCollapsibleSection('Response', escapeHtml(responseText), 'response'); + displayHtml += buildCollapsibleSection('Response', responseText, 'response'); } // Render into the prompt-display div (using innerHTML for collapsible structure) @@ -249,7 +249,7 @@ function buildCollapsibleSection(title, content, sectionId) { ▼ ${escapeHtml(title)}
-
${content}
+
${escapeHtml(content)}
`; }