From 39c278d266ffb8a6f6b13bc80e7827a718c4c60a Mon Sep 17 00:00:00 2001 From: imagoiq <12294151+imagoiq@users.noreply.github.com> Date: Mon, 18 Mar 2024 10:58:21 +0100 Subject: [PATCH] Revert change on innerhtml --- .../post-footer-block-contact.component.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/internet-header/src/components/post-internet-footer/components/post-footer-block-contact.component.tsx b/packages/internet-header/src/components/post-internet-footer/components/post-footer-block-contact.component.tsx index de47f01215..988394ec37 100644 --- a/packages/internet-header/src/components/post-internet-footer/components/post-footer-block-contact.component.tsx +++ b/packages/internet-header/src/components/post-internet-footer/components/post-footer-block-contact.component.tsx @@ -16,9 +16,13 @@ const callUnblu = () => { }; const LiveSupport = (props: { hours: string }) => ( - + ); export const PostFooterBlockContact = (props: { @@ -43,7 +47,7 @@ export const PostFooterBlockContact = (props: { {content.hours && isLiveSupport && } {content.hours && !isLiveSupport && ( // Some values arrive in the form of

8—12

and without replace and innerHTML, tags get rendered as text (project="klp" language="en" environment="int02") -

{stripHtml(content.hours)}

+

)} {content.describe ?

{content.describe}

: null}