tidy up the HTML per TinyMCE conventions