-
Notifications
You must be signed in to change notification settings - Fork 23
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
Inline JSON gets messed up #38
Comments
Hey @lmartins this is known issue that will be fixed in the next version release. A quick workaround for now until it is addressed is to do something like this: {% assign attr = 'type="application/ld+json"' %}
<script {{ attr }}>
{
"name": "foo",
"settings": [
{
"type": "something"
}
]
}
</script> |
@panoply Thanks so much for the fast reply. |
Any updates on a fix for this? |
Coming. Sit tight. |
How to config to not format this part? |
Hi there! Just wanted to check - are there any new solutions to this? Thank you! |
Almost end of 2021 and no fix |
🚢 Shipped v3.0.0 |
Hi,
I love this extension and to the most part it works pretty well. It does however mess up when you have inline schema data like this:
as it is converted to this:
I've already verified that I don't have the other Liquid extensions known to cause issues, and I also have Prettier disabled on this test.
Any way I can get around this?
The text was updated successfully, but these errors were encountered: