Skip to content
Discussion options

You must be logged in to vote

I think I figured out the issue. We are sending emails using go and parsing the MJML-generated HTML files with the standard html/template library. The library strips out comments from the HTML during parsing, so all of the comments used to support outlook-specific behaviors were being removed. I was able to get around this by wrapping the comments using the method in this stackoverflow post.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ns-alexmueller
Comment options

Answer selected by ns-alexmueller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants