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>
<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>