From 63c7d04b6021dc2fd67f3605fd8cd7860e6c0f6f Mon Sep 17 00:00:00 2001 From: Paul Crowder Date: Thu, 3 Nov 2022 17:15:18 -0400 Subject: [PATCH] fix(components/modals): remove leading and trailing whitespace from confirm elements when `preserveWhiteSpace` is `true` --- .../modules/confirm/confirm.component.html | 22 ++- .../modules/confirm/confirm.component.spec.ts | 5 + .../lib/modules/confirm/confirm.component.ts | 137 +++++++----------- 3 files changed, 74 insertions(+), 90 deletions(-) diff --git a/libs/components/modals/src/lib/modules/confirm/confirm.component.html b/libs/components/modals/src/lib/modules/confirm/confirm.component.html index 38e61ee420..a5bf6f0e96 100644 --- a/libs/components/modals/src/lib/modules/confirm/confirm.component.html +++ b/libs/components/modals/src/lib/modules/confirm/confirm.component.html @@ -1,6 +1,13 @@
+ +
{{ message }}
- {{ message }} -
+ +
{{ body }}
- {{ body }} -