Update frontend to render HTML output from ANSI converter
This commit is contained in:
parent
11e72b1025
commit
5bc2d4fe1b
1 changed files with 2 additions and 2 deletions
|
|
@ -858,7 +858,7 @@
|
|||
</div>
|
||||
${renderStatsWidget(s)}
|
||||
<div class="session-output">
|
||||
<div class="terminal" id="output-${s.id}">${escapeHtml(s.output)}</div>
|
||||
<div class="terminal" id="output-${s.id}">${s.output}</div>
|
||||
</div>
|
||||
</div>
|
||||
`).join('');
|
||||
|
|
@ -873,7 +873,7 @@
|
|||
// Append only new content since last render
|
||||
const newChunk = session.output.slice(session.outputRenderedLength);
|
||||
if (newChunk) {
|
||||
$output.textContent += newChunk;
|
||||
$output.innerHTML += newChunk;
|
||||
session.outputRenderedLength = session.output.length;
|
||||
}
|
||||
if (session.expanded) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue