eliminated any occurence of body/html closing tags in merged content