From 686af21640de4feacbc1c80d4c4ff0fa7f2482bd Mon Sep 17 00:00:00 2001 From: Kenneth Date: Sat, 6 Jun 2026 23:22:44 +0100 Subject: [PATCH] fix: md table cell content leaking --- src/component/markdown.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/component/markdown.rs b/src/component/markdown.rs index 366ea37..c5ffd4f 100644 --- a/src/component/markdown.rs +++ b/src/component/markdown.rs @@ -578,11 +578,11 @@ impl MarkdownText { cell_blocks.push(builder.build()); current_col_count += 1; + builder.clear(); + if !cursor.goto_next_sibling() { break; } - - builder.clear(); } cursor.goto_parent();