fix: double header rendering in CREATE prayer nodes

This commit is contained in:
catarrh committed 2026-08-02 00:04:37 +03:00
1 parent 2f0d9050f8
commit f7a5c43e55
1 file changed
+1
+1
View File
@@ -357,6 +357,7 @@ export async function assembleService(
.map(n => String(str((n as Record<string, unknown>).value) ?? '').replace(/\n/g, ' '))
.filter(Boolean)
.join('<br>') || '';
header = ''; // Prevent double rendering in the fallthrough below
} else {
// No structured nodes — use fetchText
text = await ctx.fetchText(`Services/CommonPrayers/${what}.xml`) ?? '';