We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eff9ecc commit 7a4a648Copy full SHA for 7a4a648
angular-slugify.js
@@ -30,6 +30,7 @@
30
// Unicode (non-control) characters in the Latin-1 Supplement and Latin
31
// Extended-A blocks, transliterated into ASCII characters.
32
var charmap = {
33
+ '/': " ",
34
' ': " ",
35
'¡': "!",
36
'¢': "c",
@@ -262,7 +263,7 @@
262
263
}
264
265
s = ascii.join("");
- s = s.replace(/[^\w\s-]/g, "").trim().toLowerCase();
266
+ s = s.replace(/[^\w\s-/]/g, "").trim().toLowerCase();
267
return s.replace(/[-\s]+/g, "-");
268
269
0 commit comments