correct invalid HTML