diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-01-28 02:30:53 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-01-28 02:30:53 +0000 |
| commit | f780ce61765558110bbfe2adc2b73803e1f76b41 (patch) | |
| tree | 0ee4c8f7b8329482365d67576373fd229d178841 | |
| parent | 80f5cafbc4c4d284d641310818f8144907498494 (diff) | |
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
| -rw-r--r-- | django/template/defaultfilters.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/defaultfilters.py b/django/template/defaultfilters.py index ddd48146f2..d3400baac8 100644 --- a/django/template/defaultfilters.py +++ b/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): |
