updated for nette/latte@1c46654
Added testcase for nette/latte#21
updated for nette/latte@334d559