-
Notifications
You must be signed in to change notification settings - Fork 284
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
Deprecate the sanitizer and recommend Bleach #501
Conversation
Codecov Report
@@ Coverage Diff @@
## master #501 +/- ##
==========================================
+ Coverage 90.97% 91.07% +0.09%
==========================================
Files 49 50 +1
Lines 6936 7044 +108
Branches 1322 1341 +19
==========================================
+ Hits 6310 6415 +105
- Misses 468 475 +7
+ Partials 158 154 -4
Continue to review full report at Codecov.
|
@@ -11,6 +12,13 @@ | |||
__all__ = ["Filter"] | |||
|
|||
|
|||
warnings.warn( | |||
"html5lib's sanitizer is deprecated; see " + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like this string could be a global.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
* Try to import from `collections.abc` to remove DeprecationWarning and ensure | ||
`html5lib` keeps working in future Python versions. (#403) | ||
* Drop optional `datrie` dependency. (#442) | ||
* Try to import from ``collections.abc`` to remove DeprecationWarning and ensure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Should probably also make sure the docs reflect this. |
See #443. cc/ @jgraham @g-k