Remove reliance on django.utils.format_html which wasn't introduced until Django 1.5.