Convert spaces to dashes instead of stripping entirely