Fix invalid HTML.