diff --git a/django/utils/html.py b/django/utils/html.py index fe1776a1e6..0e1c2c4b7b 100644 --- a/django/utils/html.py +++ b/django/utils/html.py @@ -291,7 +291,7 @@ def clean_html(text): bottom of the text. """ from django.utils.text import normalize_newlines - text = normalize_newlines(force_text(text)) + text = normalize_newlines(text) text = re.sub(r'<(/?)\s*b\s*>', '<\\1strong>', text) text = re.sub(r'<(/?)\s*i\s*>', '<\\1em>', text) text = fix_ampersands(text)