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

Slug does not remove Unicode Characters #61

Open
ddaza opened this issue Mar 1, 2016 · 0 comments
Open

Slug does not remove Unicode Characters #61

ddaza opened this issue Mar 1, 2016 · 0 comments

Comments

@ddaza
Copy link

ddaza commented Mar 1, 2016

Tried to make it so slug removes some special characters, but it seems to be broken.

var slugName = slug(name, {lower: true, remove: /®/g})

is not working

var slugName = slug(name, {lower: true, remove: new RegExp('\u00AE', 'g')})

didn't work either.

thanks!

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

1 participant