Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desktop: Fixes #10466: Fix tables missing source map attributes #10516

Conversation

personalizedrefrigerator
Copy link
Collaborator

@personalizedrefrigerator personalizedrefrigerator commented May 28, 2024

Summary

This pull request fixes #10466 by causing tableHorizontallyScrollable.ts to use an existing renderer rule internally for table_open and table_close, if it exists, when rendering a table.

Previously, the table_open renderer rule assigned by the table_open rule was ignored.

Testing plan

This pull request includes an automated test. It has also been tested manually by creating a note with a table and verifying that the table has source-line and source-line-end attributes.

tableHorizontallyScrollable overrides table_open and table_close,
without calling the default rule handlers.
@laurent22 laurent22 merged commit 418a6e4 into laurent22:dev May 30, 2024
10 checks passed
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.

Attribute source-line and source-line-end missing for tables
2 participants