encode slashes as *slash*