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

Fixes display of mj-sections with background image in some Outlook versions #60

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

bvallant
Copy link
Contributor

@bvallant bvallant commented Jan 8, 2025

The output for mj-sections using a background image is wrong compared with the original MJML implementation; the <v:rect> tag was incorrectly closed (though there was a closing tag already coming afterwards) and the order of some Outlook specific tags was wrong.
Note that these things don't get caught in the tests, most likely because they are conditional HTML comments.

@bvallant bvallant changed the title Fixes display of mj-sections with background imagein some Outlook versions Fixes display of mj-sections with background image in some Outlook versions Jan 8, 2025
@FelixSchwarz FelixSchwarz merged commit 49fa14e into FelixSchwarz:main Jan 9, 2025
9 checks passed
@FelixSchwarz
Copy link
Owner

Thank you for spotting this problem - somehow I messed up when I created the initial port. Indeed, these problems won't be detected in our current testing. I hope you did not have to spend a lot of time debugging this.

@bvallant
Copy link
Contributor Author

bvallant commented Jan 9, 2025

I hope you did not have to spend a lot of time debugging this.

Well I did. 😿 But I guess that's more Outlook's fault!

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

Successfully merging this pull request may close these issues.

2 participants