From: Jan Szejko Date: Fri, 17 Feb 2017 09:57:52 +0000 (+0100) Subject: fix upload_js X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/1f64352210cdeeab0912dfa0e2cfff769c85089f?ds=inline fix upload_js --- diff --git a/apps/fileupload/templatetags/upload_tags.py b/apps/fileupload/templatetags/upload_tags.py index e49566fb..816c8285 100644 --- a/apps/fileupload/templatetags/upload_tags.py +++ b/apps/fileupload/templatetags/upload_tags.py @@ -4,13 +4,14 @@ # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # from django import template +from django.utils.safestring import mark_safe register = template.Library() @register.simple_tag def upload_js(): - return """ + return mark_safe(""" -""" +""")