tidy up HTML per TinyMCE conventions