[profile] pronouns to lower case
This commit is contained in:
parent
e7bd5c025a
commit
4cf91bc3b9
|
@ -147,6 +147,7 @@
|
|||
|
||||
const link = decodeURIComponent(
|
||||
pronoun
|
||||
.toLowerCase()
|
||||
.replace(new RegExp('^' + this.$base), '')
|
||||
.replace(new RegExp('^' + this.$base.replace(/^https?:\/\//, '')), '')
|
||||
.replace(new RegExp('^/'), '')
|
||||
|
|
|
@ -191,6 +191,7 @@
|
|||
validatePronoun(pronoun) {
|
||||
const link = decodeURIComponent(
|
||||
pronoun
|
||||
.toLowerCase()
|
||||
.replace(new RegExp('^' + this.$base), '')
|
||||
.replace(new RegExp('^' + this.$base.replace(/^https?:\/\//, '')), '')
|
||||
.replace(new RegExp('^/'), '')
|
||||
|
|
Reference in New Issue