Remove flutter chat #26
1 changed files with 1 additions and 1 deletions
use raw string for link regex
commit
bbd157a584
|
|
@ -177,7 +177,7 @@ class EventRenderer extends ConsumerWidget {
|
|||
textStyle: textStyle,
|
||||
formattedBody!.replaceAllMapped(
|
||||
RegExp(
|
||||
"(<a\\b[^>]*>.*?<\\/a>)|(\\bhttps?:\\/\\/[^\\s<]+)",
|
||||
r"(<a\b[^>]*>.*?<\/a>)|(\\bhttps?:\/\/[^\s<]+)",
|
||||
caseSensitive: false,
|
||||
dotAll: true,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue