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

bleach is deprecated #1

Open
dgw opened this issue May 13, 2024 · 0 comments
Open

bleach is deprecated #1

dgw opened this issue May 13, 2024 · 0 comments
Milestone

Comments

@dgw
Copy link
Owner

dgw commented May 13, 2024

As I hinted when converting the plugin to a proper package (b9b8d03), the bleach library is deprecated.

It would appear that the community has gravitated to nh3, Python bindings around a Rust library. Pros for that option include that nh3's API is pretty much a drop-in replacement for bleach.

There is also html-sanitizer, which offers element pre- and postprocessing, but it's unclear where to find documentation of the library other than reading its code. (Postprocessing could be useful for another thought I had about this plugin: Converting limited HTML tags to equivalent IRC formatting. Depends on how it works, though!)

@dgw dgw added this to the 1.0.0 milestone May 13, 2024
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

No branches or pull requests

1 participant