courrier preview
This commit is contained in:
parent
0a13a74b8b
commit
c4994ad175
@ -41,11 +41,8 @@ DOMPurify.removeAllHooks();
|
||||
// IMPORTANT: We do NOT add any hooks that modify direction attributes
|
||||
// Direction will be handled explicitly by the text-direction.ts utility
|
||||
|
||||
// Configure DOMPurify to preserve direction attributes
|
||||
DOMPurify.setConfig({
|
||||
ADD_ATTR: ['dir'],
|
||||
ALLOWED_ATTR: ['style', 'class', 'id', 'dir']
|
||||
});
|
||||
// NOTE: Global DOMPurify configuration is now centralized in email-utils.ts
|
||||
// We don't set config here to avoid conflicts
|
||||
|
||||
// Note: We ensure proper text direction is applied via the applyTextDirection utility
|
||||
// when rendering email content
|
||||
|
||||
Loading…
Reference in New Issue
Block a user