mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 09:35:12 +00:00
fix: text nodes with multiple links crash the timeline
This commit is contained in:
parent
c147330e05
commit
23fe757599
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class HtmlMessage extends StatelessWidget {
|
||||||
)
|
)
|
||||||
.join(' ');
|
.join(' ');
|
||||||
|
|
||||||
node.replaceWith(dom.Element.html(newHtml));
|
node.replaceWith(dom.Element.html('<p>$newHtml</p>'));
|
||||||
}
|
}
|
||||||
return element;
|
return element;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue