fix(stellungnahme): bulletPoints statt Prosatext im generierten Dokument
Deploy / verify (push) Successful in 57s
Deploy / deploy (push) Successful in 1m36s

This commit is contained in:
Peter Meier
2026-05-27 16:34:43 +02:00
parent 5f5bd06a78
commit 8f260044e6
@@ -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`;