forked from Henry-Hiles/nexus
Fix newlines in codeblocks
This commit is contained in:
parent
37aa01db38
commit
6cb121c46a
3 changed files with 13 additions and 5 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue