fix: text nodes with multiple links crash the timeline

pull/800/head
Krille 2 years ago
parent c147330e05
commit 23fe757599
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -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…
Cancel
Save