catch the é in cafe when slugifying
This commit is contained in:
parent
4df29fa957
commit
e76057178e
@ -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,'')
|
||||||
|
Loading…
Reference in New Issue
Block a user