Skip to content

Commit eecf206

Browse files
committed
chore: Follow up html rendering
1 parent 49453e3 commit eecf206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pages/chat/events/html_message.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ class HtmlMessage extends StatelessWidget {
128128

129129
// This is a text node, so we render it as text:
130130
if (node is! dom.Element) {
131-
// Inside of a list so we add some prefix text:
132131
var text = node.text ?? '';
132+
// Single linebreak nodes between Elements are ignored:
133133
if (text == '\n') text = '';
134134

135135
return LinkifySpan(

0 commit comments

Comments
 (0)