djangocms_text_ckeditor references the html5lib sanitizer function, which has been deprecated.
I expect that there is a way to rewrite this code without sanitizer.
from html5lib import sanitizer
sanitizer.HTMLSanitizer.acceptable_elements.extend(settings.TEXT_ADDITIONAL_TAGS)
Any suggestions? 5 lines of code are really holding me back from upgrading my whole project to current ubuntu, django and python.
It seems to be solved: https://github.com/html5lib/html5lib-python/issues/72 But an example of how to rewrite the code would be really helpful. I don't know why djangocms_text_ckedit hasn't made these changes to the code already.