Five New Features in Latte 3.1 That Will Make Your Life Easier – Nette Blog

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

Latte 3.1 introduces five practical improvements to the PHP templating engine. The `ScopedLoopVariables` feature prevents foreach loop variables from leaking into the outer scope, restoring original values after the loop ends. The `Dedent` feature automatically removes common indentation inside paired tags at compile time with

4m read timeFrom blog.nette.org
Post cover image
Table of contents
No More Variable Leaking from {foreach}Indent Your Templates However You LikeFilter |commasFilter |columnFilter |slice for Iterators and New Filter |limitHow to Enable

Sort: