Django

Code

Show
Ignore:
Timestamp:
01/27/08 20:30:53 (1 year ago)
Author:
gwilson
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/template/defaultfilters.py

    r6998 r7033  
    344344    from django.utils.html import escape 
    345345    return mark_safe(escape(value)) 
    346 escape = stringfilter(escape) 
     346force_escape = stringfilter(force_escape) 
    347347force_escape.is_safe = True 
    348348