Fix improperly structured HTML