1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 21:33:18 +01:00

fix: correctly escape XML entities on client side

This commit is contained in:
Amir Raminfar
2023-04-12 09:47:27 -07:00
parent 4455cc15cc
commit 0e677bdee7
5 changed files with 13 additions and 4 deletions

View File

@@ -13,7 +13,7 @@
import { SimpleLogEntry } from "@/models/LogEntry";
import AnsiConvertor from "ansi-to-html";
const ansiConvertor = new AnsiConvertor({ escapeXML: true });
const ansiConvertor = new AnsiConvertor({ escapeXML: false });
defineProps<{
logEntry: SimpleLogEntry;
}>();