fix(stellungnahme): bulletPoints statt Prosatext im generierten Dokument
This commit is contained in:
@@ -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`;
|
||||
|
||||
Reference in New Issue
Block a user