Commit db41778e authored by Vajrasky Kok's avatar Vajrasky Kok Committed by Baptiste Mispelon
Browse files

Removed unnecessary call to force_text in utils.html.clean_html.

Refs #21574
parent 1689744a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)