improve link regex
This commit is contained in:
parent
b6a7c94293
commit
c7c85af6b4
2 changed files with 6 additions and 1 deletions
|
|
@ -694,7 +694,7 @@ class IRCMessage {
|
|||
}
|
||||
},
|
||||
);
|
||||
} else if (RegExp(r'https?:\/\/').hasMatch(text)) {
|
||||
} else if (regexLink.hasMatch(text)) {
|
||||
return TextSpan(
|
||||
text: text,
|
||||
style: style?.copyWith(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue