From e025d6ff5e3c7bdd41d8f224f693d0cb86a1cac8 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)
Signed-off-by: Maryse Simard
---
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 e6bccdf..09d490e 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.7.4