Skip to content

Conversation

christianp
Copy link

In django 4.0, django.utils.encoding.smart_text is removed; it's now known as smart_str.

It was deprecated in django 3.0: https://docs.djangoproject.com/en/4.1/releases/3.0/#django-utils-encoding-force-text-and-smart-text

In django 4.0, django.utils.encoding.smart_text is removed; it's now
known as smart_str.

It was deprecated in django 3.0: https://docs.djangoproject.com/en/4.1/releases/3.0/#django-utils-encoding-force-text-and-smart-text
Apparently starting in version 5, bleach.clean doesn't take a 'styles'
kwarg. There's no mention of it in the change log or the documentation,
so I have no idea whether it ever tried to sanitize styles at all.
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

Successfully merging this pull request may close these issues.

2 participants