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

Make table diff ignore newlines #46

Merged

Conversation

zanderle
Copy link
Contributor

If a table is provided in multiple lines in the HTML, that shouldn't mark the whole table as invalid. So before we compare the elements of a table we should first trim any #text nodes, and ignore them if they're empty

If a table is provided in multiple lines in the HTML, that shouldn't
mark the whole table as invalid. So before we compare the elements of a table
we should first trim any #text nodes, and ignore them if they're empty
@zanderle zanderle force-pushed the table-diffs-should-ignore-newlines branch from e6ac6f5 to 6e3e97e Compare February 20, 2025 12:39
@zanderle zanderle changed the title WIP Make table diff ignore newlines Make table diff ignore newlines Feb 20, 2025
@zanderle zanderle marked this pull request as ready for review February 20, 2025 12:41
@gkubisa gkubisa merged commit 619abb5 into Teamwork:master Feb 25, 2025
1 check failed
@gkubisa
Copy link
Contributor

gkubisa commented Feb 25, 2025

Thank you for the contribution @zanderle ! 👍

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