mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 12:43:48 -04:00
[profile] pronouns to lower case
This commit is contained in:
parent
78f48df239
commit
0f2ffc0dc0
@ -147,6 +147,7 @@
|
|||||||
|
|
||||||
const link = decodeURIComponent(
|
const link = decodeURIComponent(
|
||||||
pronoun
|
pronoun
|
||||||
|
.toLowerCase()
|
||||||
.replace(new RegExp('^' + this.$base), '')
|
.replace(new RegExp('^' + this.$base), '')
|
||||||
.replace(new RegExp('^' + this.$base.replace(/^https?:\/\//, '')), '')
|
.replace(new RegExp('^' + this.$base.replace(/^https?:\/\//, '')), '')
|
||||||
.replace(new RegExp('^/'), '')
|
.replace(new RegExp('^/'), '')
|
||||||
|
@ -191,6 +191,7 @@
|
|||||||
validatePronoun(pronoun) {
|
validatePronoun(pronoun) {
|
||||||
const link = decodeURIComponent(
|
const link = decodeURIComponent(
|
||||||
pronoun
|
pronoun
|
||||||
|
.toLowerCase()
|
||||||
.replace(new RegExp('^' + this.$base), '')
|
.replace(new RegExp('^' + this.$base), '')
|
||||||
.replace(new RegExp('^' + this.$base.replace(/^https?:\/\//, '')), '')
|
.replace(new RegExp('^' + this.$base.replace(/^https?:\/\//, '')), '')
|
||||||
.replace(new RegExp('^/'), '')
|
.replace(new RegExp('^/'), '')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user