Cleaning up html and links