Make the HTML more valid.