From 8f260044e6f8da17650a612de8654b2134cf1a1a Mon Sep 17 00:00:00 2001 From: Peter Meier Date: Wed, 27 May 2026 16:34:43 +0200 Subject: [PATCH] fix(stellungnahme): bulletPoints statt Prosatext im generierten Dokument --- .../components/blocks/StellingnahmeGeneratorBlock.svelte | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/components/blocks/StellingnahmeGeneratorBlock.svelte b/src/lib/components/blocks/StellingnahmeGeneratorBlock.svelte index 8077b8d..6bd6876 100644 --- a/src/lib/components/blocks/StellingnahmeGeneratorBlock.svelte +++ b/src/lib/components/blocks/StellingnahmeGeneratorBlock.svelte @@ -219,7 +219,12 @@ Karl-Liebknecht-Straße 4 let body = `ich erhebe Einwendung gegen die Ausweisung des Windenergie-Vorranggebiets ${gebietsBez} im 2. Entwurf des Regionalplans Südwestthüringen.\n\n`; for (const f of selectedFragments) { if (f.title) body += `${f.title}\n\n`; - if (f.text) body += `${stripMd(f.text)}\n\n`; + if (f.bulletPoints?.length) { + for (const bp of f.bulletPoints) body += `- ${bp}\n`; + body += "\n"; + } else if (f.text) { + body += `${stripMd(f.text)}\n\n`; + } } if (persoenlicheEingabe.trim()) body += `Persönliche Betroffenheit\n\n${persoenlicheEingabe.trim()}\n\n`;