Skip to content

fix: convert headings to plain text in table cells (issue #2722)#1

Open
mikemikimike wants to merge 2 commits intomainfrom
fix/2722-table-heading
Open

fix: convert headings to plain text in table cells (issue #2722)#1
mikemikimike wants to merge 2 commits intomainfrom
fix/2722-table-heading

Conversation

@mikemikimike
Copy link
Copy Markdown
Owner

Description

According to markdown specs, headings are not allowed inside tables. This fix converts markdown headings to plain text when rendering content inside table cells.

Fix

In MarkdownTextSerializer.serialize(), added in_table_cell parameter. The _format_heading() method now checks this flag and returns plain text instead of markdown headings when rendering inside table cells.

Issue

Fixes #2722

Signed-off-by: 温可 <wenke@openclaw.ai>
@mikemikimike mikemikimike force-pushed the fix/2722-table-heading branch from e919759 to 9a64509 Compare March 9, 2026 04:33
I, 温可 <wenke@openclaw.ai>, hereby add my Signed-off-by to this commit: 9a64509

Signed-off-by: 温可 <wenke@openclaw.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant