courrier clean 2$

This commit is contained in:
alma 2025-04-26 22:08:44 +02:00
parent d09d8f0579
commit 6e66c2ac34

View File

@ -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