Skip to content

Commit 3a93697

Browse files
Update dotcom-rendering/src/components/ProductCarouselCard.tsx
Co-authored-by: Oliver Abrahams <[email protected]>
1 parent 284ab52 commit 3a93697

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

dotcom-rendering/src/components/ProductCarouselCard.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,12 @@ export const ProductCarouselCard = ({
9999
<div css={baseCard}>
100100
{hasHeading && (
101101
<>
102-
<div css={productCarouselCardHeading}>
103-
{product.primaryHeadingHtml}
104-
</div>
102+
<div
103+
css={productCarouselCardHeading}
104+
dangerouslySetInnerHTML={{
105+
__html: product.primaryHeadingHtml,
106+
}}
107+
/>
105108
<div css={brandAndProductNameRow}>
106109
<span css={brandAndProductNameInline}>
107110
{product.brandName}{' '}

0 commit comments

Comments
 (0)