Render newlines as newlines in chat

This commit is contained in:
Conrad Irwin 2024-01-20 13:45:44 -07:00
parent 778856c101
commit 6e1f44163e

View file

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