Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 21:40:43 +00:00
co-authored by renee-png
parent 18373fb7a4
commit 76b61aa0d7
+1 -12
View File
@@ -306,18 +306,7 @@ export function LetterGenerator() {
y += lh;
}
if (template.signature) {
y += 18;
const sig = fillTokens(template.signature, tokenMap);
sig.split("\n").forEach((line) => {
if (y > bodyBottomLimit) {
doc.addPage();
y = margin;
}
doc.text(line, margin, y);
y += lh;
});
}
// Signature is intentionally not auto-added — users can type it into the body.
// ----- Footer on every page -----
if (footerLines.length > 0) {