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, '