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:
Jonathan Druart 2014-03-14 11:03:34 +01:00 committed by Tomas Cohen Arazi
parent 638b7225ae
commit 47dbd2e691

View file

@ -446,9 +446,9 @@ function filterByFirstLetterSurname(letter) {
<option value="">Any</option> <option value="">Any</option>
[% FOREACH cat IN categories %] [% FOREACH cat IN categories %]
[% IF cat.selected %] [% IF cat.selected %]
<option selected="selected" value="[% cat.categorycode %]">[% cat.description %]</option> <option selected="selected" value="[% cat.categorycode %]">[% cat.description | html_entity %]</option>
[% ELSE %] [% ELSE %]
<option value="[% cat.categorycode %]">[% cat.description %]</option> <option value="[% cat.categorycode %]">[% cat.description | html_entity %]</option>
[% END %] [% END %]
[% END %] [% END %]
</select> </select>