Remove spaces and commas from contents' hrefs