]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/utils/html.py
add a new after_head_js block (immediately after the <head> tag), allows to add track...
[osqa.git] / forum / utils / html.py
index 6afaf62ac3978f62ad6933b2a29ceb3679ef50c9..441f1f2484f1da677d34421f1b2b52e413a002d6 100644 (file)
@@ -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):