From 04341aeb610f2e5241d4df7f9636c3a43eb69538 Mon Sep 17 00:00:00 2001 From: Anbraten Date: Wed, 13 Apr 2022 22:37:11 +0200 Subject: [PATCH] fix: ansi logging --- 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));