Skip to content

Commit

Permalink
web: let anser colorize ansi logs (#5422)
Browse files Browse the repository at this point in the history
  • Loading branch information
ApocDev authored Feb 11, 2022
1 parent 7d38b58 commit c86ca00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/OverviewLogPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ function newLineEl(
let spacer = "\n"
code.innerHTML = anser.linkify(
anser.ansiToHtml(anser.escapeForHtml(line.text) + spacer, {
use_classes: true,
// Let anser colorize the html as it appears from various consoles
use_classes: false,
})
)
span.appendChild(code)
Expand Down

0 comments on commit c86ca00

Please sign in to comment.