add semicolon-separated nested looping to tal:repeat