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

add an option for allowed characters #26

Open
dcharbonnier opened this issue Oct 20, 2014 · 3 comments
Open

add an option for allowed characters #26

dcharbonnier opened this issue Oct 20, 2014 · 3 comments

Comments

@dcharbonnier
Copy link

This block upgrade of slug for some situations.

@dodo
Copy link
Owner

dodo commented Apr 18, 2015

Could you please add more detail about your idea?
I'm not sure what you mean.

@kpuputti
Copy link

I'd like to make exceptions to the char map like:

slug.charmap['ä'] = 'ä';
slug.charmap['Ä'] = 'Ä';
slug('äÄ öÖ'); // returns 'oO' instead of 'äÄ-oO'

Maybe @dcharbonnier means the same thing? Is this possible?

@dcharbonnier
Copy link
Author

if we can not manage a consistent slug between versions there is cases (the resulting slug is stored somewhere) where we can not update this lib

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

3 participants