Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process Outlook conditional HTML #50

Open
darkv opened this issue Sep 2, 2016 · 0 comments
Open

Process Outlook conditional HTML #50

darkv opened this issue Sep 2, 2016 · 0 comments

Comments

@darkv
Copy link

darkv commented Sep 2, 2016

Adding a CSS class to a tag will result in an inline style attribute after processing. Alas to get correct display of HTML emails in Outlook you often have to put in additional HTML code targeted to Outlook only by adding something like

<!--[if mso]>
    only for Outlook
<![endif]-->

If you have tags within this part unfortunately the CSS class -> CSS inline style conversion is not executed. Sure it is looks like a normal HTML comment for the processor but it could be extended to detect those special mso parts. For bigger HTML files those mso parts can be quite extensive and the usage of CSS classes would help save a lot of time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant