clean up links and some html