Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beautify replaces all styles with mj-styles #43

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

Comments

Projects
None yet
2 participants
@dnuanes
Copy link

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

This comment has been minimized.

Copy link
Owner

commented Oct 9, 2018

Hello @dnuanes

I will fix it in the next update.

@dnuanes

This comment has been minimized.

Copy link
Author

commented Oct 9, 2018

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

@attilabuti

This comment has been minimized.

Copy link
Owner

commented Oct 28, 2018

The issue is fixed on 1.6.0.

@attilabuti attilabuti closed this Oct 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.