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 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|16d 6h 8m||1||Nathan Bubna||03/Sep/08 00:25|