Skip to content

2.0.4

Compare
Choose a tag to compare
@martpie martpie released this 16 Sep 20:49
· 30 commits to master since this release
97e268f
  • Fixed a couple of edgecases:
slugify('a little slug of mine - Slug')
// Before: "a-little-slug-of-mine---slug"
// Now:    "a-little-slug-of-mine-slug"

slugify('a little slug of mine @')
// Before: "a-little-slug-of-mine--"
// Now:    "a-little-slug-of-mine"

slugify('@ a little slug of mine')
// Before: "--a-little-slug-of-mine"
// Now:    "a-little-slug-of-mine"