Ticket #6334: patch.diff

File patch.diff, 639 bytes (added by xgdlm <grangier@…>, 17 years ago)
  • django/newforms/widgets.py

     
    426426            if id_:
    427427                final_attrs = dict(final_attrs, id='%s_%s' % (id_, i))
    428428            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))
    430430
    431431    def id_for_label(self, id_):
    432432        # See the comment for RadioSelect.id_for_label()
Back to Top