getkirby/toolkit — pull request #5 by kernfruit (2014-07-24 07:19:57+00:00)
Title: fix(str::slug): use custom separator if provided

Just a little thing I stumbled upon yesterday: The str::slug method had already excepted a second argument for providing a custom separator for slug generation but it was not used in the end. This change enables using a custom replacement for the default dash.