From f2bf5931c283967e527254f38dee1f034075cc6a Mon Sep 17 00:00:00 2001 From: Anbraten Date: Wed, 13 Apr 2022 22:45:30 +0200 Subject: [PATCH] fix: ansi logging (#880) --- web/src/components/repo/build/BuildLog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/repo/build/BuildLog.vue b/web/src/components/repo/build/BuildLog.vue index 63729798d4..54efe27ffb 100644 --- a/web/src/components/repo/build/BuildLog.vue +++ b/web/src/components/repo/build/BuildLog.vue @@ -67,7 +67,7 @@ export default defineComponent({ const repo = inject>('repo'); const buildProc = useBuildProc(); - const ansiConvert = new AnsiConvert(); + const ansiConvert = new AnsiConvert({ escapeXML: true }); const logLines = computed(() => buildProc.logs.value?.map((l) => ({ ...l, out: ansiConvert.toHtml(l.out) }))); const proc = computed(() => build.value && findProc(build.value.procs || [], procId.value));