emogrifier icon indicating copy to clipboard operation
emogrifier copied to clipboard

!important should be preserved in inline styles

Open seb303 opened this issue 9 months ago • 3 comments

Sometimes it is necessary to have inline styles include !important. For example to remove link underlining in Windows 10 Mail.

However, it seems that Emogrifier drops the !important when inlining the styles. I understand this may be necessary for pseudo-class overrides to work, so it's probably a good default behaviour. But could there be an option added to allow it to be preserved?

seb303 avatar May 23 '24 12:05 seb303