From 8b6d7448156ca5b97d421876264f0a6cc8f116bc Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 31 Mar 2022 13:44:16 +0200 Subject: [PATCH] Bug 30093: Fix QA failures Signed-off-by: Martin Renvoize Signed-off-by: Fridolin Somers --- .../prog/en/includes/js-patron-format-address.inc | 2 +- .../intranet-tmpl/prog/en/includes/patron-search.inc | 12 ++++++------ .../intranet-tmpl/prog/en/modules/members/search.tt | 11 +---------- .../intranet-tmpl/prog/en/modules/reserve/request.tt | 12 +----------- 4 files changed, 9 insertions(+), 28 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format-address.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format-address.inc index 60923ec524..407bc42e2f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format-address.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format-address.inc @@ -101,7 +101,7 @@ window.$format_address = function(data, options) { let line_break = options && options.no_line_break ? ' ' : '
'; [%~ IF Koha.Preference( 'AddressFormat' ) ~%] - return member_display_address_style_[% Koha.Preference( 'AddressFormat' ) %](data, line_break); + return member_display_address_style_[% Koha.Preference( 'AddressFormat' ) | html %](data, line_break); [%~ ELSE ~%] return member_display_address_style_us(data, line_break); [%~ END ~%] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc index 07ec9cd093..d088ebc2e5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -78,7 +78,7 @@ [% END %] -