]> git.koha-community.org Git - koha.git/commit
Bug 19677: Properly escape enumchrom/serialseq data
authorNick Clemens <nick@bywatersolutions.com>
Mon, 18 Dec 2017 14:42:25 +0000 (14:42 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 23 Jan 2018 02:18:38 +0000 (02:18 +0000)
commit8be48eeb5180a529c079a32e4db3766bd0e4e142
treebe1627e20309d3a176429854ca2de63a8391a4c2
parent7086c399fd8a9329d440fa636fa8e383c265865b
Bug 19677: Properly escape enumchrom/serialseq data

Some serial issues use angle brackets for denoting certain data.
Currently this is not displayed in Koha. This patch escapes the data so
that angle brackets will display.

To test:
1 - Add an enumchron field to an item containg angle brackets:
"This is a <test>"
2 - View the record in the staff and opac, not the field displays as:
"This is a"
3 - Apply patch
4 - Note full text now displays

Signed-off-by: Charlotte Cordwell <charlotte.cordwell123@gmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt