Skip to content

Conversation

qykth-git
Copy link
Contributor

If closing tag is missing, some undefined behaviors will provides test failure.

This PR fixes #24 .

If closing tag is missing, some undefined behaviors will provides test failure.
@frenzymadness
Copy link
Member

Thank you for the contribution. I've found only one small issue.

@qykth-git
Copy link
Contributor Author

@frenzymadness
I adds some fixup to pass CI/CD workflow.

Newer lxml like lxml 6 encodes and keeps control characters
as neutralized form.
It eliminates some evil attempts.

Adds fixup to expected result text to pass doctest.
@qykth-git
Copy link
Contributor Author

@frenzymadness
I add one more fixup to drop older Python that not worked with lxml 6.

@frenzymadness
Copy link
Member

Thank you! You are reading my mind. We've just discussed that we no longer need to test lxml_html_clean with Python 3.6. Thank you also for the other fixes.

@qykth-git
Copy link
Contributor Author

@frenzymadness
Drop Python 3.6 code that added by #3 .

@frenzymadness
Copy link
Member

I'm going to merge this and release it. Thanks a lot!

@frenzymadness frenzymadness merged commit f0c10df into fedora-python:main Oct 2, 2025
7 checks passed
@qykth-git
Copy link
Contributor Author

Thank you!

@qykth-git qykth-git deleted the iframe-test-fix branch October 2, 2025 23:09
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 failures with lxml 5.4.0

2 participants