We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. I found a strange behavior change in 3.1.30:
$template = ' <pre> foo {counter start=0 print=false} {foreach from=$array item=item} {capture name=itemText} {$item} {/capture} {if $smarty.capture.itemText} {$smarty.capture.itemText|indent:4} {/if} {/foreach} bar </pre> '; $smarty->assign('array', [1, 2, 3, 4, 5]); echo $smarty->fetch('eval:' . $template);
Output in 3.1.29:
<pre> foo 1 2 3 4 5 bar </pre>
Output in 3.1.30:
Is this change intended?
The text was updated successfully, but these errors were encountered:
- bugfix {capture}{/capture} did add in 3.1.30 unintended additional …
bfc1ef8
…blank lines #268
This is now fiexed in the master branch
Sorry, something went wrong.
No branches or pull requests
Hi. I found a strange behavior change in 3.1.30:
Output in 3.1.29:
Output in 3.1.30:
Is this change intended?
The text was updated successfully, but these errors were encountered: