You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So we would need to figure out if we want master or a specific version. Usually I like to pin to a release version, but I'm not even sure what bleach does so I'm not sure what to suggest.
No matter what we should make sure to test with the change and see if everything is okay.
Thanks! It does HTML sanitizing, including dealing with weird fragments. babelsubs uses it to remove everything except a few supported tags when parsing SRT, TXT and WebVTT. It could break things if something gets through when uploading/creating subtitles and then gets output elsewhere.
grepping around it seems pculture/unisubs uses Django's built in strip_tags, except for subtitles_tags.py.
I don't see major changes between 1.2.2 (current babelsubs requirement: https://github.com/jsocol/bleach/tree/v1.2.2) and 1.4, but 1.4 depends on html5lib 0.999, vs 0.95. Sounds like html5lib's API changed between 0.95 and 0.999, so that's one source of trouble if html5lib is used elsewhere.
bleach doesn't get installed when running pip install.
The dependency_links git in setup.py points to:
https://github.com/jsocol/bleachmastertarball/master#egg=bleach-dev
which doesn't yield anything. A valid link could be:
https://github.com/jsocol/bleach/tarball/master#egg=bleach-dev
The text was updated successfully, but these errors were encountered: