Skip to content

3.3.0-beta.3

Compare
Choose a tag to compare
@iRyusa iRyusa released this 06 Feb 14:43
· 1334 commits to master since this release

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