Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #6113 -- Added auto-escaping "safe" marking for the MultiWidget…

…. Thanks, Martin Conte MacDonell.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 12ed18935b3119ea2ffa560cff59040eeb659c82 1 parent 10015fa
Malcolm Tredinnick authored February 04, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/newforms/widgets.py
2  django/newforms/widgets.py
@@ -426,7 +426,7 @@ def render(self, name, value, attrs=None):
426 426
             if id_:
427 427
                 final_attrs = dict(final_attrs, id='%s_%s' % (id_, i))
428 428
             output.append(widget.render(name + '_%s' % i, widget_value, final_attrs))
429  
-        return self.format_output(output)
  429
+        return mark_safe(self.format_output(output))
430 430
 
431 431
     def id_for_label(self, id_):
432 432
         # See the comment for RadioSelect.id_for_label()

0 notes on commit 12ed189

Please sign in to comment.
Something went wrong with that request. Please try again.