From 422ff15be58d9926c1f532d2845bd5519f3cb272 Mon Sep 17 00:00:00 2001 From: Nikhil Kothari Date: Tue, 12 May 2026 11:22:39 +0530 Subject: [PATCH] fix: remove wrapper for list items in error messages (#54848) --- 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