Skip to content

Corrected processing of the rowspan attribute #209

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

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

ematochkina
Copy link
Contributor

This change affects the order in which rows are traversed to process the rowspan attribute.
I am faced with incorrect formation of row No. 4 of the table:
image

After processing cell [1,1] with rowspan=4, the state of row No.4 changes from [{"text": "T4"}] to [{"text": "T4"}, {"text": ""}] because cell [3,0] with rowspan=2 has not been processed yet.

Therefore, I suggest first of all going through the columns of the table.

@Aymkdn
Copy link
Owner

Aymkdn commented Mar 18, 2024

Thanks for sharing. I'll have a look at it as soon as I have a moment!

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.

2 participants