slugify fixed
This commit is contained in:
@@ -29,6 +29,9 @@ module.exports = {
|
||||
PikpayKey: "Ribica",
|
||||
|
||||
Slugify: function(text) {
|
||||
if(!text) {
|
||||
text = "";
|
||||
}
|
||||
return text.toString().toLowerCase()
|
||||
.replace(/š/g,'s')
|
||||
.replace(/[čć]/g,'c')
|
||||
|
||||
Reference in New Issue
Block a user