getSlug now replaces _every_ ' ' with '-'

Was only replacing the first, and the others remained spaces.