From eb160cac61546cb291ca0202cec3887ec90896ea Mon Sep 17 00:00:00 2001
From: Marco
Date: Tue, 25 Aug 2026 12:36:07 +0000
Subject: [PATCH] Preserve paragraph breaks in the spotlight product's text
spotlightText is a plain textarea, and default HTML whitespace handling
collapsed admin-entered paragraph breaks into one run-on line.
---
app/components/ProductSpotlight.tsx | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/app/components/ProductSpotlight.tsx b/app/components/ProductSpotlight.tsx
index 74b0f87..676405b 100644
--- a/app/components/ProductSpotlight.tsx
+++ b/app/components/ProductSpotlight.tsx
@@ -86,7 +86,12 @@ export async function ProductSpotlight() {
>
{product.spotlightHeadline || product.name}
-
+ {/* whitespace-pre-line — spotlightText is a plain textarea field,
+ and admin-entered paragraph breaks (e.g. the "Die Sieben"
+ spotlight copy) should render as actual line breaks instead of
+ collapsing into one run-on line like default HTML whitespace
+ handling would. */}
+
{product.spotlightText || product.description}
{/* MwSt./Versand disclosure on its own line, not crammed into