Fixed #20221 -- Functions with mark_safe() can result in SafeText

I'd combine these 3 lines "from django.utils import html, six, text"