Closed ckken closed 10 years ago
I update the slugify support chinese text = text.toLowerCase(); text = text.split(' ').join('-'); return text;
slugify support chinese
Unfortunately, this will match special characters too like !, and will not convert underscores to -'s (just like Github would do).
!
-
I update the slugify support chinese text = text.toLowerCase(); text = text.split(' ').join('-'); return text;