Here's a small patch that adds support for #break directive that can be used to break foreach-loops.
Catch: #break does not verify that it is inside a foreach loop. If it is not, a RuntimeException of type BreakException is thrown during rendering and not caught properly. Testcases are also quite laughable but the directive seems to work OK.
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Workflow||jira [ 12437630 ]||Default workflow, editable Closed status [ 12551553 ]|
|Workflow||Default workflow, editable Closed status [ 12551553 ]||jira [ 12552438 ]|