diff --git a/crates/rich_text/src/rich_text.rs b/crates/rich_text/src/rich_text.rs index dc626ccdd1..0b980ed37d 100644 --- a/crates/rich_text/src/rich_text.rs +++ b/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'), _ => {} } }