Fix unbalanced "head" tag.