Ticket #1357: 1357.patch
File 1357.patch, 630 bytes (added by , 19 years ago) |
---|
-
core/formfields.py
427 427 selected_html = '' 428 428 if str(value) == str_data: 429 429 selected_html = ' selected="selected"' 430 output.append(' <option value="%s"%s>%s</option>' % (escape(value), selected_html, display_name))430 output.append(' <option value="%s"%s>%s</option>' % (escape(value), selected_html, escape(display_name))) 431 431 output.append(' </select>') 432 432 return '\n'.join(output) 433 433