You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mjml-rails was working fine for us until that point, but after the update, this line began to throw some errors (in a file called _header.html.mjml ).
%mj-column{"width" => "70%"}
MJML for some reason doesn't recognize the % unit and adds px, causing failures.
Failure/Error: %mjml
ActionView::Template::Error:
Line 43 of /tmp/in20200921-1055-tu28bu.mjml (mj-column) — Attribute width has invalid value: 70%px for type Unit, only accepts (px, %) units and 1 value(s)
------------------
--- Caused by: ---
Mjml::Parser::ParseError:
Line 43 of /tmp/in20200921-1055-tu28bu.mjml (mj-column) — Attribute width has invalid value: 70%px for type Unit, only accepts (px, %) units and 1 value(s)
Could anyone give any direction as to why this may be an issue?
The text was updated successfully, but these errors were encountered:
Recently, MJML released a new version, 4.7.0.
mjml-rails was working fine for us until that point, but after the update, this line began to throw some errors (in a file called
_header.html.mjml
).MJML for some reason doesn't recognize the
%
unit and addspx
, causing failures.Could anyone give any direction as to why this may be an issue?
The text was updated successfully, but these errors were encountered: