Ticket #15683: ticket_15683.patch

File ticket_15683.patch, 450 bytes (added by Marcos Moyano, 8 years ago)

remove marke_safe

  • django/template/defaultfilters.py

     
    395395    possible escaping).
    396396    """
    397397    from django.utils.html import escape
    398     return mark_safe(escape(value))
     398    return escape(value)
    399399force_escape = stringfilter(force_escape)
    400400force_escape.is_safe = True
    401401
Back to Top