catch the é in cafe when slugifying
This commit is contained in:
@@ -132,6 +132,7 @@
|
|||||||
function slugify(str) {
|
function slugify(str) {
|
||||||
return str
|
return str
|
||||||
.toLowerCase()
|
.toLowerCase()
|
||||||
|
.replace(/é/g,'e')
|
||||||
.replace(/&/g,' and ')
|
.replace(/&/g,' and ')
|
||||||
.replace(/ /g,'-')
|
.replace(/ /g,'-')
|
||||||
.replace(/[']+/g,'')
|
.replace(/[']+/g,'')
|
||||||
|
Reference in New Issue
Block a user