jupiterjs/canjs — pull request #77 by daniel-franz (2012-07-28 07:46:09+00:00)
Title: Add tests for nested control structures

Block scope by curly brackets seems to be lost, if the opening ejs-block is divided into more than one part.

This is working:
var text = "<% for (var i = 0; i < test.length; i++) {" +
"if (test[i].length) {" +
[..]