mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #6057 -- Mark rendered template output as safe for auto-escaping purposes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6778 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -804,7 +804,7 @@ class NodeList(list): | ||||
|                 bits.append(self.render_node(node, context)) | ||||
|             else: | ||||
|                 bits.append(node) | ||||
|         return ''.join([force_unicode(b) for b in bits]) | ||||
|         return mark_safe(''.join([force_unicode(b) for b in bits])) | ||||
|  | ||||
|     def get_nodes_by_type(self, nodetype): | ||||
|         "Return a list of all nodes of the given type" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user