Fix mismatched HTML tags.