From 71f3c5b8512933a12338bf46cc9907c5dc94fa03 Mon Sep 17 00:00:00 2001
From: Lucas Gass
Date: Thu, 1 Aug 2019 05:04:08 +0000
Subject: [PATCH] Bug 23412: HTML should be allowed in MARC notes. (5xx fields)
---
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
index e6bccdfd71..09d490ecc6 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
@@ -717,14 +717,14 @@
[% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
[% MARCNOTE.marcnote | html %]
[% ELSE %]
- [% MARCNOTE.marcnote | html | html_line_break %]
+ [% MARCNOTE.marcnote | $raw | html_line_break %]
[% END %]
[% END %]
[% ELSE %]
[% IF ( notes ) %]
- [% notes | html %]
+ [% notes | $raw %]
[% END %]
[% END %]
--
2.11.0