From 6e66c2ac3489529dc0ad0cf8857ea2f43c6ebd3d Mon Sep 17 00:00:00 2001 From: alma Date: Sat, 26 Apr 2025 22:08:44 +0200 Subject: [PATCH] courrier clean 2$ --- lib/utils/email-formatter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/email-formatter.ts b/lib/utils/email-formatter.ts index b00fdff5..6a529e40 100644 --- a/lib/utils/email-formatter.ts +++ b/lib/utils/email-formatter.ts @@ -310,7 +310,7 @@ export async function decodeComposeContent(content: string): Promise<{ const parsed = await response.json(); - // Sanitize the parsed content while preserving text direction + // Apply LTR sanitization to the parsed content return { html: parsed.html ? sanitizeHtml(parsed.html) : null, text: parsed.text || null