fix all links and remove html_safes