1.1 --- a/macros/FormField.py Sat Feb 09 15:56:04 2013 +0100
1.2 +++ b/macros/FormField.py Sat Feb 09 19:50:37 2013 +0100
1.3 @@ -134,7 +134,7 @@
1.4 is_selected = maxselected == 1 and option == value or maxselected != 1 and option in values
1.5
1.6 output.append(fmt.rawHTML('<option value="%s" %s>%s</option>' % (
1.7 - escattr(option), is_selected and "selected" or "", escape(label))
1.8 + escattr(option), is_selected and 'selected="selected"' or "", escape(label))
1.9 ))
1.10
1.11 output.append(fmt.rawHTML('</select>'))