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
|
||||
.toString()
|
||||
.trim()
|
||||
.toLowerCase()
|
||||
.replace(/\s+/g, '-')
|
||||
};
|
||||
|
||||
|
|
@ -10,7 +9,6 @@ const revert = (keyword) => {
|
|||
return keyword
|
||||
.toString()
|
||||
.trim()
|
||||
.toLowerCase()
|
||||
.replace('-', ' ')
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue