You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry to bother, but even if mjml is a wonderful project allowing us to make universal responsive emails, we still can break all the thing by typing errorneous tags. That's what I did few weeks ago, without noticing my emails were broken on production.
Once we did figure out there was a remaining trailing space in an mjml tag, I decided to add an mjml linter on my git commit hook
But I still can't make it work. I'm not sure what I did wrong, so here is what I did.
Can someone point me on what I did miss ?
Reproduction Steps:
I use mjml inside a laravel project.
Even if the validator is installed (as a dependency ?), I cannot use it until I install it explicitely :
Hi @loranger we released a new beta for mjml 4.1, which you can install with npm install mjml@next, could you check if the --validate option is working as you wish ?
Hello,
Sorry to bother, but even if mjml is a wonderful project allowing us to make universal responsive emails, we still can break all the thing by typing errorneous tags. That's what I did few weeks ago, without noticing my emails were broken on production.
Once we did figure out there was a remaining trailing space in an mjml tag, I decided to add an mjml linter on my git commit hook
But I still can't make it work. I'm not sure what I did wrong, so here is what I did.
Can someone point me on what I did miss ?
Reproduction Steps:
Even if the validator is installed (as a dependency ?), I cannot use it until I install it explicitely :
$ ls -la node_modules
$ mjml --validate
$ mjml-cli --validate
Then the error message is slightly different
$ mjml --validate
$ mjml-cli --validate
I took a deeper look at the documentation, but I stil can't find my error. Could you help, please ?
Expected behavior:
A validation output listing my markup errors
Observed behavior:
It looks like the mjml command does not understand the validate flag or the input file
MJML version:
The text was updated successfully, but these errors were encountered: