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
When you have an error inside a {capture} block, smarty will incorrectly report that there is a syntax error "Not matching {capture}{/capture} "
Here is an example of code that would produce this error:
<?php use Smarty\Smarty; $smarty = new Smarty(); $template = '{$nullVariable = null} {capture} stuff to capture {$nullVariable->someFunction()} {/capture}'; $smarty->display('eval:'.$template); ?>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When you have an error inside a {capture} block, smarty will incorrectly report that there is a syntax error
"Not matching {capture}{/capture} "
Here is an example of code that would produce this error:
The text was updated successfully, but these errors were encountered: