erlydtl/erlydtl — pull request #167 by choptastic (2014-04-18 06:48:27+00:00)
Title: Handle loops within {%block%} and {%extend%}

When base and parent templates within {%block%} tags contain for loops,
there is an 'unsafe L' error due to leaky case expressions. This wraps the
case statement in an anonymous function call, containing the 'L' variable,
and preventing a crash.

This also adds the relevant test.