Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #6471 -- Fixed stringfilter decoration of `force_escape` filter.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f780ce61765558110bbfe2adc2b73803e1f76b41 1 parent 80f5caf
@gdub gdub authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/template/defaultfilters.py
View
2  django/template/defaultfilters.py
@@ -343,7 +343,7 @@ def force_escape(value):
"""
from django.utils.html import escape
return mark_safe(escape(value))
-escape = stringfilter(escape)
+force_escape = stringfilter(force_escape)
force_escape.is_safe = True
def linebreaks(value, autoescape=None):
Please sign in to comment.
Something went wrong with that request. Please try again.