Fixed a bug that prevented image previews for urls that had an ampersand