Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some HTML emails are potentially breaking the UI #469

Open
chamerling opened this issue Jun 7, 2021 · 5 comments
Open

Some HTML emails are potentially breaking the UI #469

chamerling opened this issue Jun 7, 2021 · 5 comments

Comments

@chamerling
Copy link
Contributor

Check the screenshot below:

Capture d’écran 2021-06-07 à 21 33 10

You will find attached the EML here https://gist.github.com/chamerling/9b46db95c3eebb433eb852620c099dda

@fabienmoyon
Copy link
Member

related to #353

@chamerling
Copy link
Contributor Author

Any chance to have this in the roadmap?

@fabienmoyon
Copy link
Member

Of course, the issue is in the polish sprint

@oubchid
Copy link
Contributor

oubchid commented Jul 27, 2021

After investigation, it seems that the content of mail contain styles with header id attribute, that override global style.

Maybe we can find another solution than removing id attribute with DOMPurify !?

image

@chibenwa
Copy link
Member

Are we implementing manually a html sanbox here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants