Skip to content

Delimit words with pre-existing separators#6

Merged
jayjun merged 1 commit intomasterfrom
separator
Aug 27, 2019
Merged

Delimit words with pre-existing separators#6
jayjun merged 1 commit intomasterfrom
separator

Conversation

@jayjun
Copy link
Copy Markdown
Owner

@jayjun jayjun commented Aug 27, 2019

Pre-existing separators should delimit words.

iex> Slug.slugify("hello-world")
"hello-world"
iex> Slug.slugify("--Hello--World--")
"hello-world"

Fixes #5.

@jayjun jayjun merged commit a69a8e4 into master Aug 27, 2019
@jayjun jayjun deleted the separator branch August 29, 2019 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Separator is not kept

1 participant