From 9f16521e6428417ebcec74ff0583dc28e5cdebca Mon Sep 17 00:00:00 2001
From: Alex Arnaud <alex.arnaud@biblibre.com>
Date: Wed, 11 Oct 2017 10:16:36 +0000
Subject: [PATCH] Bug 18399 - Followup - escape reason input

---
 koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt
index 25e04b0..5a8ada6 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt
@@ -491,7 +491,7 @@ h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o
 
                     <span id="other_reason" name="other_reason">
                         [% IF other_reason %]
-                            <input type="text" size="31" id="select-other_reason" name="other_reason" placeholder="please note your reason here..." value="[% suggestion.reason%]"/>
+                            <input type="text" size="31" id="select-other_reason" name="other_reason" placeholder="please note your reason here..." value="[% suggestion.reason | html %]"/>
                         [% ELSE %]
                             <input type="text" size="31" id="select-other_reason" name="other_reason" placeholder="please note your reason here..." />
                         [% END %]
-- 
2.7.4