Keep closing tag if the statement is terminated by it