yarn mjml 3.3.0-beta.3

latest releases: 5.0.0-alpha.1, 5.0.0-alpha.0, 4.15.3...
7 years ago

Features

  • Shiny new component mj-wrapper lets you wrap multiple sections to share a background or borders across multiple sections
  • mj-head is now available when giving JSON object to mjml2html
  • mj-style no longer inlines by default but adds the css into the head (as a consequence, it now supports media queries!)
  • mj-style now supports inline="inline" attribute to inline the given css instead of adding it to the head

Fixes

  • Encode & Decode attributes to avoid XML parser to hang
  • --level=skip no longer crash the mjml client
  • isBrowser is now a function instead of value, so you can modify the value on the fly
  • Update the error message whenmj-body has no children thanks to @michelgotta
  • nested mj-include inside an mj-head partial should now be parsed correctly
  • Skip juice if there's no CSS to inline for better performances

Don't miss a new mjml release

NewReleases is sending notifications on new releases.