catch the é in cafe when slugifying

This commit is contained in:
David 2017-04-13 21:49:50 -04:00
parent 4df29fa957
commit e76057178e
1 changed files with 1 additions and 0 deletions

View File

@ -132,6 +132,7 @@
function slugify(str) {
return str
.toLowerCase()
.replace(/é/g,'e')
.replace(/&/g,' and ')
.replace(/ /g,'-')
.replace(/[']+/g,'')