Bug 25082: Don't remove characters from string
authorKatrin Fischer <katrin.fischer.83@web.de>
Tue, 5 May 2020 11:43:39 +0000 (11:43 +0000)
committerJoy Nelson <joy@bywatersolutions.com>
Mon, 11 May 2020 22:00:33 +0000 (22:00 +0000)
commite5372db43e8094fc491b861db7defb8e36e6b7db
treed125e69cbd6848676bd5500caf7fc97bec264ffb
parenta53d63e0f7720321715e75be1147d8ea4df9a3aa
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.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl