From ab60bf8dff46c05bc67194c3cc2a5fa753916609 Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Tue, 5 Mar 2024 05:02:36 +0900 Subject: [PATCH] fix(ui): escape html in error diff (#5325) --- packages/ui/client/components/views/ViewReportError.vue | 3 ++- test/ui/fixtures/error.test.ts | 6 ++++++ test/ui/test/html-report.spec.ts | 8 +++++++- test/ui/test/ui.spec.ts | 8 +++++++- test/ui/vitest.config.ts | 3 +++ 5 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 test/ui/fixtures/error.test.ts diff --git a/packages/ui/client/components/views/ViewReportError.vue b/packages/ui/client/components/views/ViewReportError.vue index 9a9bf01d96a6..5a1de0a9fe2c 100644 --- a/packages/ui/client/components/views/ViewReportError.vue +++ b/packages/ui/client/components/views/ViewReportError.vue @@ -1,6 +1,7 @@