X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/2444d6ffd7995be782615589fb1d5aef2c8277ce..c20ffa09925ec21f3631e6f14f078f2f8b05be70:/forum/utils/html.py diff --git a/forum/utils/html.py b/forum/utils/html.py index bf84e2f..28a6a4b 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):