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
{skipIf} does not avoid printing last {sep} #263
Comments
How could this be solved? |
I don't know. The only thing I can think of is to compile the But that will of course work only in very limited set of scenarios, i.e. {foreach [1, 2, 3] as $item where $item === 3}
{$item}{sep}, {/sep}
{/foreach} |
Version: 2.10.3
Steps To Reproduce
https://fiddle.nette.org/latte/#14e8be81e2
Expected Behavior
The last comma should not be printed.
The text was updated successfully, but these errors were encountered: