diff --git a/django/utils/html.py b/django/utils/html.py index 0e1c2c4b7b..b6b639d538 100644 --- a/django/utils/html.py +++ b/django/utils/html.py @@ -290,7 +290,6 @@ def clean_html(text): * Remove stuff like "

  

", but only if it's at the bottom of the text. """ - from django.utils.text import normalize_newlines text = normalize_newlines(text) text = re.sub(r'<(/?)\s*b\s*>', '<\\1strong>', text) text = re.sub(r'<(/?)\s*i\s*>', '<\\1em>', text)