X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/49d0961a6f7f585f707cd08817f3e0a9f1a19212..11014041527e050c889dfb8899e0fb87945b5513:/forum/utils/html.py diff --git a/forum/utils/html.py b/forum/utils/html.py index 6afaf62..441f1f2 100644 --- a/forum/utils/html.py +++ b/forum/utils/html.py @@ -3,7 +3,7 @@ from html5lib import sanitizer, serializer, tokenizer, treebuilders, treewalkers, HTMLParser from django.utils.html import strip_tags from forum.utils.html2text import HTML2Text -from django.template import mark_safe +from django.utils.safestring import mark_safe from forum import settings class HTMLSanitizerMixin(sanitizer.HTMLSanitizerMixin):