mozilla / unicode-slugify

A slugifier that works in unicode
BSD 3-Clause "New" or "Revised" License
321 stars 52 forks source link

Problem with ~ characted #15

Closed mirzadelic closed 9 years ago

mirzadelic commented 9 years ago

~ character is making problem with slugify..

ebsaral commented 9 years ago

You can pass it with "ok" parameter to discard it.

mirzadelic commented 9 years ago

Thanks..

ebsaral commented 9 years ago

By default, slugok characters are '-~'. So, what you wanna do: slugify(mystring, '-') Regards.