mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 03:57:47 -04:00
[profile] pronouns to lower case
This commit is contained in:
parent
78f48df239
commit
0f2ffc0dc0
@ -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('^/'), '')
|
||||
|
Loading…
x
Reference in New Issue
Block a user