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…
Add table
Add a link
Reference in a new issue