Fix newlines in codeblocks

This commit is contained in:
Henry Hiles 2026-02-11 10:44:19 -05:00
commit 6cb121c46a
No known key found for this signature in database
3 changed files with 13 additions and 5 deletions

View file

@ -409,7 +409,10 @@ class RoomChat extends HookConsumerWidget {
return "<a href=\"$url\">$url</a>";
},
)
.replaceAll("\n", "<br/>"),
.replaceAll(
"\n",
"<br class=\"fake-break\"/>",
),
),
if (message.editedAt != null)
Text(