From 1b1ff05c811072a05c3570754a55688943dbb62e Mon Sep 17 00:00:00 2001 From: Lucy C <12953208+elvece@users.noreply.github.com> Date: Thu, 30 Jun 2022 16:41:55 -0600 Subject: [PATCH] fix html parsing in logs (#1598) --- frontend/projects/ui/src/app/components/logs/logs.page.ts | 1 + frontend/projects/ui/src/app/services/api/api.fixures.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/projects/ui/src/app/components/logs/logs.page.ts b/frontend/projects/ui/src/app/components/logs/logs.page.ts index 3634a1ac3..4a0d9381f 100644 --- a/frontend/projects/ui/src/app/components/logs/logs.page.ts +++ b/frontend/projects/ui/src/app/components/logs/logs.page.ts @@ -8,6 +8,7 @@ var convert = new Convert({ colors: { 4: 'Cyan', }, + escapeXML: true, }) @Component({ diff --git a/frontend/projects/ui/src/app/services/api/api.fixures.ts b/frontend/projects/ui/src/app/services/api/api.fixures.ts index 703301aa8..a3e76530e 100644 --- a/frontend/projects/ui/src/app/services/api/api.fixures.ts +++ b/frontend/projects/ui/src/app/services/api/api.fixures.ts @@ -947,7 +947,7 @@ export module Mock { { timestamp: '2019-12-26T14:21:30.872Z', message: - '2021/11/09 22:55:04 \u001b[34mPOST \u001b[0;32;49m200\u001b[0m photoview.embassy/api/graphql \u001b[0;36;49m1.169406ms\u001b[0m unauthenticated', + '2021/11/09 22:55:04 \u001b[34mPOST \u001b[0;32;49m200\u001b[0m photoview.embassy/api/graphql \u001b[0;36;49m1.169406ms\u001b[0m unauthenticated

TEST PARAGRAPH

', }, { timestamp: '2019-12-26T14:22:30.872Z',