mjmlio / mjml-app

:email: The desktop app for MJML
http://mjmlio.github.io/mjml-app
MIT License
843 stars 81 forks source link

MJML App Gallery sphero-mini shows nesting error of miml component #368

Open DanielOberlechner opened 2 years ago

DanielOberlechner commented 2 years ago

Describe the bug See title | not sure if this mjml problem or mjml-app problem, tried first here...

To Reproduce Steps to reproduce the behavior: I downloaded the miml app for macOS. Went to the Gallery and searched for a pre-made template. Found the template sphero-mini and opened it: Got greeted by a linting error from the app that mj-spacer cannot be used inside mj-body.

Expected behavior No error's should be shown on a pre-made template.

Screenshots github

Environment (please complete the following information):

DanielOberlechner commented 2 years ago

Have seen now bugs in other templates as well. Attribute vertical-align is illegal Attributes color, font-family are illegal ... (in the happy new year theme email)

iRyusa commented 2 years ago

Well some templates comes from community so they're not really "linted" properly sometimes. It happens, at least the editor told you so :D And for some, they come from older version of MJML (some where directly taken from Mailjet before MJML was a thing yet) so they're not sanitized