Ticket #6471: force_escape.diff
File force_escape.diff, 472 bytes (added by , 17 years ago) |
---|
-
django/template/defaultfilters.py
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):