diff --git a/apps/api/src/app/shared/sanitization/sanitization-config.ts b/apps/api/src/app/shared/sanitization/sanitization-config.ts index 22a0424..3ad16fa 100644 --- a/apps/api/src/app/shared/sanitization/sanitization-config.ts +++ b/apps/api/src/app/shared/sanitization/sanitization-config.ts @@ -114,6 +114,9 @@ export const sanitizationConfig = { ["img"], allowedElements ), - allowedAttributes: { "*": allowedAttributes }, + allowedAttributes: { + ...sanitizeHtml.defaults.allowedAttributes, + "*": allowedAttributes, + }, allowedSchemes: ["data"], };