From 4ba5557a3f2bdf99dcdd9341673bd80a756fc172 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 11:15:21 +0000 Subject: [PATCH] fix: remove wrapper for list items in error messages (backport #54848) (#55973) --- banking/src/components/ui/error-banner.tsx | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/banking/src/components/ui/error-banner.tsx b/banking/src/components/ui/error-banner.tsx index 0c57642503a..ee5cbd7e5e5 100644 --- a/banking/src/components/ui/error-banner.tsx +++ b/banking/src/components/ui/error-banner.tsx @@ -22,18 +22,6 @@ const parseHeading = (message?: ParsedErrorMessage) => { return message?.title } -const wrapLooseListItemsWithUl = (html: string): string => { - // Regex matches consecutive
  • ...
  • blocks not wrapped in