Render newlines as newlines in chat

Conrad Irwin created

Change summary

crates/rich_text/src/rich_text.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/rich_text/src/rich_text.rs 🔗

@@ -250,7 +250,7 @@ pub fn render_markdown_mut(
                 _ => {}
             },
             Event::HardBreak => text.push('\n'),
-            Event::SoftBreak => text.push(' '),
+            Event::SoftBreak => text.push('\n'),
             _ => {}
         }
     }