if(last($args) == '{') { # open block
array_pop($args); # drop '{'
+ if(!is_string(last($tem['pieces']))) $tem['pieces'][] = '';
$tem =& tem_push($tem); # create a new sub-template
$tem['parent']['pieces'][] =& $tem; # as a piece of the parent
$tem['name'] = $name;