Hide from Outlook attribute to mj-style
It is well known that Outlook does not handle many aspects of CSS. Sometimes Outlook will ignore entire blocks of CSS or just decide to render one aspect of the CSS (for example: applying a border-top while ignoring other border declarations).
Fortunately, the solution to this problem is also well known. By wrapping the CSS block in a MSO conditional comments, Outlook will ignore the entire block.
Since the solution is well established, it would be very helpful to automate the application of the MSO conditional comments by adding an attribute to mj-style. Just like how there is an inline=inline attribute for mj-style, there could also be hide-from-outlook=true attribute. If this attribute is used, it would wrap the CSS block in the proper MSO conditional comments in the compiled HTML.
Well, I understand the need but we try to avoid client-specific attributes.
We had a super edge case on outlook.com where we wanted to provide both behavior.
We might need to open a discussion about that @ngarnier