Make the HTML valid again