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

Liquid template code is getting minified #2737

Open
arunmecom opened this issue Aug 30, 2023 · 3 comments
Open

Liquid template code is getting minified #2737

arunmecom opened this issue Aug 30, 2023 · 3 comments

Comments

@arunmecom
Copy link

arunmecom commented Aug 30, 2023

When I am using Shopify liquid code inside <mj-raw> in output file its getting minified (one liner)
Input
Screenshot 2023-08-30 at 12 12 50 AM
Output
Screenshot 2023-08-30 at 12 13 27 AM

Is there any way to to get the output liquid code similar to input( formatted code )
Expected behavior

Screenshot 2023-08-30 at 12 19 52 AM
@iRyusa
Copy link
Member

iRyusa commented Aug 30, 2023

Can you try to wrap them in <!-- htmlmin:ignore --> this should prevent any minification for a specific block

@arunmecom
Copy link
Author

@iRyusa I tried <!-- htmlmin:ignore --> also its not working

Input

Screenshot 2023-08-30 at 10 38 15 AM

Output

Screenshot 2023-08-30 at 10 38 38 AM

@iRyusa
Copy link
Member

iRyusa commented Sep 15, 2023

It might not be related to minifier then, i'll see what i can do 🤔

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

No branches or pull requests

2 participants