Skip to content

Use Content tooltips for Markdown table cells - #6649

Open
Devil1716 wants to merge 1 commit into
Textualize:mainfrom
Devil1716:fix/markdown-table-tooltip-markup-error
Open

Use Content tooltips for Markdown table cells#6649
Devil1716 wants to merge 1 commit into
Textualize:mainfrom
Devil1716:fix/markdown-table-tooltip-markup-error

Conversation

@Devil1716

Copy link
Copy Markdown

Summary

  • Pass Content (not cell.plain str) to Markdown table cell tooltips in compose(), matching the streaming path so bracketed text is not parsed as markup.

Test plan

Fixes #6642

compose() passed cell.plain (str) into with_tooltip, which renders
markup-enabled and raises MarkupError for bracketed cell text like
([sys:LOCK=SAFE]). Pass the Content object instead, matching the
streaming _update_rows path.

Fixes Textualize#6642

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

Markdown table cell tooltip crashes with MarkupError on bracketed text

1 participant