Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sforsberg
Copy link
Contributor

What? Why?

Adds trim as an available option which allows the user to specify whether or not the slug should be trimmed. By default this still trims the separator from the slug before returning.

If the trim option is set to false, the slug will not be trimmed and will return exactly as it was after preg_replace().

NOTE

I attempted to make sure all framework integrations were updated, but if I missed something let me know!

@florianeckerstorfer florianeckerstorfer merged commit e1564e8 into cocur:master Oct 12, 2017
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.

2 participants