node-slug
node-slug copied to clipboard
Unable to turn off symbols replacement
Hi,
I tried with custom options object and the usage looks like this:
const slugifiedValue = slug(value, { lower: true, symbols: false })
The library still convetes symbols like < or <3 to their representations ('less', 'love'). Options dict isn't completely ignored, because lower option is fine. The problem is with symbols option - it's not taken into consideration by the current implementation.
Environment: React/Webpack project executed in Chrome browser