newforms-admin widgets need to mark_safe their output
|Reported by:||Karen Tracey <kmtracey@…>||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I use raw_id_fields in newforms-admin and now with the autoescape code merged see escaped html for these fields. Attached patch mark_safe's the output of all (I think I got them all) the widgets in django/contrib/admin/widgets.py but I'll admit I believe my app only uses the ForeignKeyRawIdWidget, so I didn't actually verify the fix for the other widgets.