Fold multiple slashes to one