Closed wmthor closed 7 years ago
Yes that, or an incrementing number could work, I'll accept a PR for this. I will not be able to contribute to this project for a little while.
This is not an issues anymore, if you still see this problem, provide a reproduction.
The slug becomes empty when the text is empty or when its contains entirely foreign characters. It slugifies to an empty string, therefore doesn't get past this point.
Perhaps there can be a fallback such as returning an empty separator, e.g. "-"?