From ddad3a12ca0c8a9664ae4f8ce21588bf34b77717 Mon Sep 17 00:00:00 2001 From: alma Date: Mon, 28 Apr 2025 11:59:09 +0200 Subject: [PATCH] courrier multi account restore compose --- components/email/ComposeEmail.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/components/email/ComposeEmail.tsx b/components/email/ComposeEmail.tsx index 435aea37..bd1cb453 100644 --- a/components/email/ComposeEmail.tsx +++ b/components/email/ComposeEmail.tsx @@ -58,6 +58,12 @@ interface ComposeEmailProps { }) => Promise; } +// Add a helper to fix table widths in HTML +function fixTableWidths(html: string): string { + if (!html) return html; + return html.replace(/]*width)/g, '