mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -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): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user