Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Gary Wilson Jr. authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/template/defaultfilters.py
2  django/template/defaultfilters.py
@@ -343,7 +343,7 @@ def force_escape(value):
343 343
     """
344 344
     from django.utils.html import escape
345 345
     return mark_safe(escape(value))
346  
-escape = stringfilter(escape)
  346
+force_escape = stringfilter(force_escape)
347 347
 force_escape.is_safe = True
348 348
 
349 349
 def linebreaks(value, autoescape=None):

0 notes on commit f780ce6

Please sign in to comment.
Something went wrong with that request. Please try again.