latte icon indicating copy to clipboard operation
latte copied to clipboard

☕ Latte: the safest & truly intuitive templates for PHP. Engine for those who want the most secure PHP sites.

Results 36 latte issues
Sort by recently updated
recently updated
newest added

Continue of work started by @dg in https://github.com/nette/latte/pull/297

The purpose of this PR is to enable statical analysis of resulting code by analysers like PHPStan, Psalm, etc. Related #262, #275, #276 First commit propagates known types infomation from...

- bug fix: yes - BC break: no This fixes error > ob_end_clean(): Failed to delete buffer. No buffer to delete but I'm not sure if this is the best...

- new feature: check if template exists - no breaking changes - probably doesn't warrant any documentation updates I have a bit of a unique use-case where it's critical that...

- bug fix - BC break? yes In case of `block y` generate too long code: ```html {block x|strip} Lorem ipsum dolor sit amet, consectetur adipiscing elit. {/block} ------ {block...

Version: 3.0.x-dev ### Bug Description After update to newest version of latte it is no longer possible define HTML tags atributes via if. ### Steps To Reproduce Check attachement code...

- Explain your intentions As explained in this forum question I'd need an early exit feature in latte templates: https://forum.nette.org/en/35172-early-exit-in-latte-template-file This follows the guard clause instead of if/else-nesting, see https://www.youtube.com/watch?v=EumXak7TyQ0...

- Explain your intentions Currently it's possible to define component with `n:define`, like this ```latte ``` But it's not currently possible to embed it same way with `n:embed`, but latte...

Hello, Quite often I need to get a template from a user that can render my mandatory parameters and not use anything else. For example, an email template in an...