fix: render cover letter exports without resume chrome

This commit is contained in:
Amruth Pillai
2026-07-07 17:47:52 +02:00
parent 5270a2a9a0
commit 8570c1c70a
25 changed files with 175 additions and 23 deletions
+1 -1
View File
@@ -506,7 +506,7 @@ export function renderCustomSection(section: CustomSection, colorHex: string): P
// Cover letter type — render recipient + content
if (sectionType === "cover-letter") {
const paragraphs: Paragraph[] = [sectionHeading(section.title, colorHex)];
const paragraphs: Paragraph[] = [];
for (const item of visibleItems) {
if ("recipient" in item && item.recipient) {
paragraphs.push(...htmlToParagraphs(item.recipient, getHtmlStyle()));