-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Should Fluid allow for the parsing of a set of non-tag statements? #732
Comments
The fact that these are in a |
This didn't work, but how close did I get?
Parse fails on 1,1, with:
|
This is what I would have written. Try to add a blank line before the statements. Or even just a space (it wants to read one after the If it doesn't work I will have to look into it. |
I actually did have whitespace around it, but that's not the problem, it seems.
Just for giggles, I trimmed it prior to parsing. Now I stopped getting the error (so the whitespace was the problem?), but I didn't get any output. When I dug into the resulting statements, I found there was only one: it had only parsed the |
Could be an unrelated issue then, try with other statements to see if they are parsed. (there is another issue that mentions similar things) |
It doesn't parse the last line, it seems. For example, if you end with an
|
I'm doing some work where Fluid statements are written without tags, and then injected into a
{% liquid
tag prior to being parsed:I'm wondering if there should be a
ParseStatements
method onFluidParser
that does this internally rather than depend on the string manipulation?The text was updated successfully, but these errors were encountered: