@@ -, +, @@ filter --- C4/Installer/PerlDependencies.pm | 5 +++++ C4/Templates.pm | 2 ++ .../bootstrap/en/modules/opac-authoritiessearchresultlist.tt | 6 +++--- 3 files changed, 10 insertions(+), 3 deletions(-) --- a/C4/Installer/PerlDependencies.pm +++ a/C4/Installer/PerlDependencies.pm @@ -822,6 +822,11 @@ our $PERL_DEPS = { 'required' => '0', 'min_ver' => '0.03', }, + 'Template::Stash::AutoEscaping' => { + 'usage' => 'Code', + 'required' => '1', + 'min_ver' => '0.0303', + }, }; 1; --- a/C4/Templates.pm +++ a/C4/Templates.pm @@ -5,6 +5,7 @@ use warnings; use Carp; use CGI qw ( -utf8 ); use List::MoreUtils qw/ any uniq /; +use Template::Stash::AutoEscaping; # Copyright 2009 Chris Cormack and The Koha Dev Team # @@ -69,6 +70,7 @@ sub new { COMPILE_DIR => $use_template_cache ? C4::Context->config('template_cache_dir') : '', INCLUDE_PATH => \@includes, FILTERS => {}, + STASH => Template::Stash::AutoEscaping->new, ENCODING => 'UTF-8', } ) or die Template->error(); --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt @@ -1,7 +1,7 @@ [% USE Koha %] [% PROCESS 'opac-authorities.inc' %] [% PROCESS 'authorities-search-results.inc' %] -[% pagination = BLOCK %] +[% BLOCK pagination %]