From 1a81051824bed5067772c7f63cfd9efc32cec112 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Tue, 5 May 2020 11:43:39 +0000 Subject: [PATCH] Bug 25082: Don't remove characters from string At the moment, show-lang-041 will either get a code or an AV description to deal with. If it's a description, we don't want to remove spaces and other chars from it. To test: - Repeat tests from first patch with an AV in LANG category that consists of multiple words, has a - and other possible punctuation. - The description should show correctly in OPAC and staff. --- koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl index acb122b1c1..7fb14ad515 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl @@ -385,7 +385,7 @@ lang_code- - + , diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl index 4b83326bfa..bc8b4f75f9 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl @@ -349,7 +349,7 @@ lang_code- - + , -- 2.11.0