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 tomjml2html
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 supportsinline="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 themjml
clientisBrowser
is now a function instead of value, so you can modify the value on the fly- Update the error message when
mj-body
has no children thanks to @michelgotta nested mj-include
inside anmj-head
partial should now be parsed correctly- Skip juice if there's no CSS to inline for better performances