-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add euphorie.htmllaundry module #739
Conversation
Except that we removed the imports from the init and replaced with a thank-you note to Wichert.
It fails with latest lxml 5.2 (Plone 6.0.11).
If someone gives me write access to https://github.com/syslabcom/htmllaundry I can push a change there and create a PR. |
I added you! |
And it *must* be a list with lxml 5.2 (new lxml_html_cleaner package), otherwise you get an error when instantiating the cleaner: ``` TypeError: Expected a collection, got str: link_target='_blank' ```
In lxml 5.2+ `from lxml.html.clean import Cleaner` still works, but only if the `lxml_html_clean` is available, and then it is a backwards compatibility import.
Thanks @pilz. Alternative PR created: syslabcom/htmllaundry#2 |
…etup The tests folder must be a module for the tests to be discovered
I would very much prefer going with this version rather than going on with the fork. |
The original
htmllaundry
package fails withlxml
5.2 (Plone 6.0.11).Just thinking: alternatively we could fix
htmllaundry
and push a new version to PyPI. We do have access: https://pypi.org/project/htmllaundry/We have already fixed this in at least one other project, and Alessandro and me identified at least one other project that uses it.