Fixing double slashes in links