there's no restriction with alpha case
This commit is contained in:
parent
2cc6579e80
commit
7c2a1d56fc
|
|
@ -2,7 +2,6 @@ const convert = (keyword) => {
|
||||||
return keyword
|
return keyword
|
||||||
.toString()
|
.toString()
|
||||||
.trim()
|
.trim()
|
||||||
.toLowerCase()
|
|
||||||
.replace(/\s+/g, '-')
|
.replace(/\s+/g, '-')
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -10,7 +9,6 @@ const revert = (keyword) => {
|
||||||
return keyword
|
return keyword
|
||||||
.toString()
|
.toString()
|
||||||
.trim()
|
.trim()
|
||||||
.toLowerCase()
|
|
||||||
.replace('-', ' ')
|
.replace('-', ' ')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue