linagora / esn-frontend-inbox

Webmail SPA for the OpenPaaS Suite - https://open-paas.org
Other
12 stars 19 forks source link

Some HTML emails are potentially breaking the UI #469

Open chamerling opened 3 years ago

chamerling commented 3 years ago

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 commented 3 years ago

related to https://github.com/linagora/esn-frontend-inbox/issues/353

chamerling commented 3 years ago

Any chance to have this in the roadmap?

fabienmoyon commented 3 years ago

Of course, the issue is in the polish sprint

oubchid commented 3 years ago

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 commented 3 years ago

Are we implementing manually a html sanbox here?