sighmon/mjml-rails

rails mailer previews render as text with mjml tags

Closed this issue · 3 comments

When making /rails/mailers previews with option for mjml and failback text format rendering.
The rendered text/plaintext format emails show the mjml tags and not just the text.

@voordev do you have any example code or an example repository showing the bug?

@voordev I had the same problem. I managed to solve ti by specifying the layout I was using like so layout 'mailer.html.mjml'. Hope that helps

@DaddyWozBucks
I Currently use

layout "mailer"
Does specifying the full filename to the layout file works but like my example not?