From d78d3f65e2c9211e3e6b8387873b88f90f78b9c3 Mon Sep 17 00:00:00 2001 From: Stefan Hauke Date: Thu, 1 Feb 2024 10:01:36 +0100 Subject: [PATCH] fix: prevent rendering errors for text on enhanced image teaser caused by Angular hydration * Angular hydration needs a valid HTML structure that was not given with the surrounding

tag for the text/description on the image * use

instead of

element for freestyle HTML on enhanced image teaser to prevent rendering errors * see https://angular.io/guide/hydration#valid-html-structure --- .../cms-image-enhanced/cms-image-enhanced.component.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/shared/cms/components/cms-image-enhanced/cms-image-enhanced.component.html b/src/app/shared/cms/components/cms-image-enhanced/cms-image-enhanced.component.html index d773e64319..705a75bdaf 100644 --- a/src/app/shared/cms/components/cms-image-enhanced/cms-image-enhanced.component.html +++ b/src/app/shared/cms/components/cms-image-enhanced/cms-image-enhanced.component.html @@ -39,11 +39,11 @@

{{ pagelet.stringParam('Heading1') }}

{{ pagelet.stringParam('Heading2') }}

-

+ >