nette/nette — pull request #897 by vojtech-dobes (2012-12-09 23:42:34+00:00)
Title: Latte: {breakIf} & {continueIf} allow usage as pair

This implementation adds possibility to add any special code to be placed right before `breakIf` or `continueIf` macros. Like this:

```html
{foreach $people as $person}
{breakIf $person == 'Mary'} foo{/breakIf}{$person}
{/foreach}
```

It is inspired by #884, this can be used to solve it in some way. But I don't like it because it introduces BC break (to keep API coherent), which doesn't seem to me to be matched by benefits. So discuss, whoever likes to :).