Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn characters like ?, @, # to hyphen instead of just removing them #46

Open
rightaway opened this issue Aug 24, 2015 · 3 comments
Open

Comments

@rightaway
Copy link

Right now aaa??@#bbb becomes aaabbb, generated slug would be more readable if it were to become aaa-bbb.

@ghost
Copy link

ghost commented Sep 29, 2015

why the hell is there aaa??@#bb in slug ??

are-you-crazy-----

@rightaway
Copy link
Author

@phuyem It's simply an example.

@kokokurak
Copy link

+1 for this! There should always be separator for any removed/replaced characters. Another example:

aaa&&&&bbb

Turns into:

aaaandandaaa

But I believe the better result would be this:

aaa-and-and-and-and-bbb

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

No branches or pull requests

2 participants