node-slug
node-slug copied to clipboard
Slug does not remove Unicode Characters
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!