chore: Follow up html rendering
This commit is contained in:
parent
49453e3eb3
commit
eecf206eb8
1 changed files with 1 additions and 1 deletions
|
|
@ -128,8 +128,8 @@ class HtmlMessage extends StatelessWidget {
|
|||
|
||||
// This is a text node, so we render it as text:
|
||||
if (node is! dom.Element) {
|
||||
// Inside of a list so we add some prefix text:
|
||||
var text = node.text ?? '';
|
||||
// Single linebreak nodes between Elements are ignored:
|
||||
if (text == '\n') text = '';
|
||||
|
||||
return LinkifySpan(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue