Update crates/tui/src/tui/markdown_render.rs

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Wu Yuxin
2026-05-04 21:19:08 +08:00
committed by Hunter Bown
parent c8fe367e3d
commit 08a3a8f5f5
+1 -1
View File
@@ -353,7 +353,7 @@ fn render_line_with_links(
if !first {
// The space consumed by split — attach as a plain space word
// so the wrap loop can decide whether to keep or break it.
words.push((" ".to_string(), base_style));
words.push((" ".to_string(), style));
}
if !part.is_empty() {
words.push((part.to_string(), style));