Beautify replaces all styles with mj-styles
dnuanes opened this issue · comments
When running beautify, my styles.mjml file include in the head is replace with mj-styles.mjml
Before beautify:
<mjml> <mj-head> <mj-breakpoint width="600px" /> <mj-preview></mj-preview> **<!--styles--> <mj-include path="../../components/styles.mjml" />** <!--fonts--> <mj-include path="../../components/fonts.mjml" /> <mj-attributes> <!--attributes--> <mj-include path="../../components/attributes.mjml" /> </mj-attributes> </mj-head>
After beautify:
<mjml> <mj-head> <mj-breakpoint width="600px" /> <mj-preview></mj-preview> **<!--mj-styles--> <mj-include path="../../components/mj-styles.mjml" />** <!--fonts--> <mj-include path="../../components/fonts.mjml" /> <mj-attributes> <!--attributes--> <mj-include path="../../components/attributes.mjml" /> </mj-attributes> </mj-head>
Hello @dnuanes
I will fix it in the next update.
Thanks Attila! You've built an amazing extension!!
The issue is fixed on 1.6.0.