Merge branch 'fix-i1567' into 'main'
adding case insensitive match during status composition Closes #1567 See merge request soapbox-pub/soapbox!2807
This commit is contained in:
commit
e0b1d022e3
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ import StatePlugin from './plugins/state-plugin';
|
|||
|
||||
const LINK_MATCHERS = [
|
||||
createLinkMatcherWithRegExp(
|
||||
/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,
|
||||
/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/i,
|
||||
(text) => text.startsWith('http') ? text : `https://${text}`,
|
||||
),
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue