Bug 9811: FIX encoding issue on patron categories
The patron categories should use the html_entity filter (on the current master). Signed-off-by: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> This fix solves the issue of double encoding some utf8-characters by html_encoding the patron categories, which are not marked as utf8. Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
638b7225ae
commit
47dbd2e691
1 changed files with 2 additions and 2 deletions
|
@ -446,9 +446,9 @@ function filterByFirstLetterSurname(letter) {
|
|||
<option value="">Any</option>
|
||||
[% FOREACH cat IN categories %]
|
||||
[% IF cat.selected %]
|
||||
<option selected="selected" value="[% cat.categorycode %]">[% cat.description %]</option>
|
||||
<option selected="selected" value="[% cat.categorycode %]">[% cat.description | html_entity %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% cat.categorycode %]">[% cat.description %]</option>
|
||||
<option value="[% cat.categorycode %]">[% cat.description | html_entity %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
Loading…
Reference in a new issue