Skip to content

Conversation

@wetneb
Copy link
Contributor

@wetneb wetneb commented Oct 27, 2025

Fixes #187.

&& doc_without_whitespace != strip_whitespace(&result_file_legacy)
{
panic!(
"Serialization as HTML of the source XML document is:\n\n{doc_str}\n\nExpected one of:\n\n{result_file}\n\nor\n\n{result_file_legacy}\n"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could have also done an assert!( ... || ... ) rather than a panic! I think.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, not sure why I made it that convoluted…

@wetneb wetneb force-pushed the libxml2.15-support branch from 997e4ff to 702f91c Compare October 27, 2025 20:25
@dginev dginev merged commit 8bdff55 into KWARC:master Oct 27, 2025
8 checks passed
@dginev
Copy link
Member

dginev commented Oct 27, 2025

Thank you for the speedy report and resolution, much appreciated!

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.

Test failure with libxml 2.15.1

2 participants