Resolve an issue with # containing URLS