catch the é in cafe when slugifying

This commit is contained in:
David 2017-04-13 21:49:50 -04:00
parent 4df29fa957
commit e76057178e

View File

@ -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,'')