Remove stray head and body tags