Closed chasegiunta closed 3 years ago
This may ultimately be a premailer issue. If so, forgive me (ha) and feel free to close.
@chasegiunta Sounds like it might be an MJML
bug rather than a MJML-Rails
bug, so see if you can replicate it here: https://mjml.io/try-it-live
If you can't, pop a sample .mjml
file here and we can work on a fix.
@sighmon Cannot reproduce on the live editor: https://mjml.io/try-it-live/BysLSV6sP
@chasegiunta I tried your Google embed code in a example_mjml_rails app, and I can't replicate the bug sorry.
@sighmon never really got a chance to follow-up but if you want to close this, up to you.
We can probably either chalk this up to a dependency issue here, or something project-specific. Either way, the workaround works and this issue will serve as help for anyone who might possibly run into this in the future.
Pulling in multiple font weights the official way via Google Fonts url will throw an error:
In order to pull in multiple font multiple font weights from Google, this is the tag used:
Looks like MJML is getting held up on the unescaped semicolons being used in the
?family
param. Escaping those semicolons like so:... gets around the error. Not blocking me, but figured I'd flag it.