mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 07:35:13 +00:00
fix: whitespaces sometimes encoded in html message
This commit is contained in:
parent
fb57ed7a5a
commit
6fde2fbeaa
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class HtmlMessage extends StatelessWidget {
|
|||
final newHtml = parts
|
||||
.map(
|
||||
(linkifyElement) => linkifyElement is! UrlElement
|
||||
? Uri.encodeComponent(linkifyElement.text)
|
||||
? linkifyElement.text.replaceAll('<', '<')
|
||||
: '<a href="${linkifyElement.text}">${linkifyElement.text}</a>',
|
||||
)
|
||||
.join(' ');
|
||||
|
|
Loading…
Reference in a new issue