Modifier '!important' is duplicated
Loadmaster opened this issue · 2 comments
Loadmaster commented
Using v 1.5.5
I'm getting a duplicate !important
style modifier on a color
style definition:
... color: #ffffff!important !important; ...
Some browsers (Firefox) do not seem to like this duplication, causing the entire color
definition to be ignored.
I have a quick work-around for now, using a simple string replacement:
string htmlBody = inLineResult.Html.Replace("!important !important", " !important");
The downside to this it that it can be a relatively expensive operation on email texts larger than 20K or so.
BickelLukas commented
#151 same problem
I created a Pull request solving the problem
martinnormark commented
Closed by #151