add url encode to links