Convert name{1,2} to name in html templates.