]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 31 Jan 2018 08:10:24 +0000 (09:10 +0100)
commitb93521a444e0b67fc5ad2111517ba2699c96dc80
treea8a926c276daa5c1fe3f8f7d0f5752cb50f30c16
parent25a26ad97e25caa0c93cdffb1556fedf8eaf299f
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>
(cherry picked from commit 8be48eeb5180a529c079a32e4db3766bd0e4e142)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt