Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Beautify replaces all styles with mj-styles #43

Closed
dnuanes opened this issue Oct 9, 2018 · 3 comments
Closed

Beautify replaces all styles with mj-styles #43

dnuanes opened this issue Oct 9, 2018 · 3 comments

Comments

@dnuanes
Copy link

dnuanes commented Oct 9, 2018

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>

@attilabuti
Copy link
Owner

Hello @dnuanes

I will fix it in the next update.

@dnuanes
Copy link
Author

dnuanes commented Oct 9, 2018

Thanks Attila! You've built an amazing extension!!

@attilabuti
Copy link
Owner

The issue is fixed on 1.6.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants