Bug 899586: Consecutive whitespaces in field values are ignored in <select> elements

r=sgreen a=glob


git-svn-id: svn://10.0.0.236/trunk@264963 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org 2013-08-13 18:54:06 +00:00
parent 28a4ace86f
commit 4238ec3884
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
8694
8695

View File

@ -105,7 +105,7 @@
[% FOREACH current_value = legal_values %]
[% SET v = current_value.name OR '---' -%]
[% SET display = display_value(field.name, current_value.name) %]
<option [% IF v != display %]value="[% v FILTER html %]"[% END ~%]
<option value="[% v FILTER html %]"
id="v[% current_value.id FILTER html %]_[% field.name FILTER html %]"
[% ' selected="selected"' IF value.contains( v ) %]>
[%~ display FILTER html ~%]