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:
parent
28a4ace86f
commit
4238ec3884
@ -1 +1 @@
|
||||
8694
|
||||
8695
|
||||
@ -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 ~%]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user