Closed Christopher-Hayes closed 1 year ago
Hey @Christopher-Hayes
Thanks for the information. This was fixed in Prettify which will be used in future releases of the extension. If you can hold out a little longer I will ship a pre-release candidate for this.
Cool, thanks @panoply
Description
Every time I run "Liquid: Format Document", the scripts after the
@click
line get indented like 20 times. If I run format again, it gets indented another 20 times.This seems to only happen if I have the
{% if %}
inside the element properties. If I remove conditional, it indents as expected.Temporary work-around
Don't use
{% if %}
inside element properties.