diff --git a/crates/git/src/commit.rs b/crates/git/src/commit.rs index f32ad226af387..d06c38e7ad75c 100644 --- a/crates/git/src/commit.rs +++ b/crates/git/src/commit.rs @@ -32,7 +32,7 @@ pub fn get_messages(working_directory: &Path, shas: &[Oid]) -> Result", ">")), + .map(|str| String::from(str.trim())), ) .collect::>()) } diff --git a/crates/language/src/markdown.rs b/crates/language/src/markdown.rs index 0221f0f431bcc..1c9cec399eec0 100644 --- a/crates/language/src/markdown.rs +++ b/crates/language/src/markdown.rs @@ -306,6 +306,10 @@ pub async fn parse_markdown_block( Event::SoftBreak => text.push(' '), + Event::InlineHtml(inline_html) => { + text.push_str(&inline_html); + } + _ => {} } }