vanng822 / go-premailer

Inline styling for html mail in golang
MIT License
141 stars 20 forks source link

Added a KeepBangImportant option to preserve '!important' in final style attribute. #11

Closed Vindexus closed 4 years ago

Vindexus commented 4 years ago

My final output needed to have margin: 0 auto !important in the style attribute to work properly with the template I was using.

I added this option and tests to achieve that.

vanng822 commented 4 years ago

@Vindexus Should I fix the test issue

vanng822 commented 4 years ago

I do it