TF-3674 Add ADR for logic reply email

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-04-21 13:39:03 +07:00
committed by Dat H. Pham
parent caa7908f19
commit 90f4e0b746
13 changed files with 110 additions and 12 deletions
@@ -0,0 +1,21 @@
# 54. Standardize HTML sanitizing
Date: 2024-10-24
## Status
Accepted
## Context
- The email content contains many unnecessary html attribute tags. We want to display the email content best on multiple platforms.
## Decision
- We sanitize the html before displaying the email.
- Customize the `sanitize html` library to allow `attributes`, `tags` and `className` to be used.
- The processing order is from `tags` -> `attributes` -> `className`
## Consequences
- Email content is cleaner. Displays well on all platforms. Any changes to sanitize html are updated here