liquid
liquid copied to clipboard
`break` tag behaviour outside of a `for` tag
Hello! I just wanted to ask a question about break and its behaviour.
In my work, I've noticed that break works outside of a for tag, for example in a rendered snippet or even in a section file. I do find this useful as it allows for a way to halt the proceeding Liquid within the file, without having to wrap all of the code in an if statement.
My question is then, how intentional is this behaviour? Is it something that's at increased risk of changing unexpectedly?