Bug 766: (follow-up) fix encoding issues
This patch deals with the current master code. It should be removed when patches for bug 11944 will be pushed. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> No side effects. Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Fixes encoding problem, until this can be resolved properly. Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
e33a016a1c
commit
cfcdc1c4dd
|
|
@ -18,12 +18,12 @@
|
|||
<select id="[% name %]" name="[% name %]" class="[% class %]" >
|
||||
[% FOR av IN avs %]
|
||||
[% IF av.default %]
|
||||
<option value="[% av.value %]" selected="selected">[% av.label %]</option>
|
||||
<option value="[% av.value %]" selected="selected">[% av.label | html_entity %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% av.value %]">[% av.label %]</option>
|
||||
<option value="[% av.value %]">[% av.label | html_entity %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
[% ELSE %]
|
||||
<input type="text" id="[% name %]" name="[% name %]" size="[% size %]" value="[% default %]" class="[% class %]" />
|
||||
<input type="text" id="[% name %]" name="[% name %]" size="[% size %]" value="[% default | html_entity %]" class="[% class %]" />
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue