Features
- MJML can now be used in a isomorphic environment !
mjml
cli supports i/o streams see #91ColumnElement
such astext, image, list, ...
now supportscontainer-background-color
- MJML support Open Sans, Droid Sans, Lato and Roboto fonts and, fonts are imported only when used
- Add support to share and non-share url for
mj-social
, add:url
to disable share link for a social network :<mj-social display="twitter:url facebook google:url" />
New components
mj-invoice
: Display a table of items with calculated total price.mj-table
: This tag allows you to display table and filled it with data.mj-location
: Display a Google Maps location link
Bug fixes
mj-raw
tags should no longer parse incorrect tags, see #25- Custom MJ Element with empty content or string content no longer make MJML crash, see #62
mj-button
default attributes has been updated to match other element, see #109 and #69max-width
onmj-image
has been removed see #86color
is no longer inherited and see #105mj-social
now have a padding between fortext-mode
false- Fix
font-size
formj-html
VerticalAlign
for column is now applied on Outlook client- Use
width
formj-divider
#77 mj-divider
should now use%
instead ofpx
for width + fix #125- Outlook conditional tags should behave correctly with
%
#130 - Divider has a incorrect padding bottom on Outlook 2013 see #137