-
Notifications
You must be signed in to change notification settings - Fork 414
Open
Description
Hi!
We've noticed an issue with emails composed by Outlook. Outlook generates a document that uses both style element and inline styles. Inserting such document into editor (Squire.insertHTML()) will strip it out of style element. This is not desirable because this can significantly affect how email is displayed in the reply chain.
I've tracked it down to this commit (7fc3ab5) and accompanying issue (#95). It's not clear why style elements were stripped at that point. It seems there was no HTML sanitizing - so maybe because of that?
Now Squire runs external HTML through DOMPurify and so maybe its time to lift this restriction? Or at least allow users to configure if they want Squire to keep these tags or not.
Metadata
Metadata
Assignees
Labels
No labels