diff --git a/app/courrier/page.tsx b/app/courrier/page.tsx index b68d6534..df70e659 100644 --- a/app/courrier/page.tsx +++ b/app/courrier/page.tsx @@ -403,7 +403,7 @@ function getReplyBody(email: Email, type: 'reply' | 'reply-all' | 'forward' = 'r let formattedContent = ''; if (type === 'forward') { formattedContent = ` -
Forwarded message from ${email.from}
Date: ${new Date(email.date).toLocaleString()}
@@ -416,7 +416,7 @@ function getReplyBody(email: Email, type: 'reply' | 'reply-all' | 'forward' = 'r `; } else { formattedContent = ` -On ${new Date(email.date).toLocaleString()}, ${email.from} wrote:
]*>/g, '
'); + .replace(/
]*>/g, '
'); } }, [composeBody]); @@ -74,7 +74,7 @@ export default function ComposeEmail({ .replace(/<\/span>/g, ''); const encodedContent = encodeComposeContent( - `