Bug 22702: circulation note on patron page should allow for HTML tags
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 12 Apr 2019 23:04:06 +0000 (23:04 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 26 Apr 2019 11:50:39 +0000 (12:50 +0100)
Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 9f34d208d08fc89d2d0b4d3718fc43e3f32ff055)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt

index bc7f206..0a68087 100644 (file)
@@ -765,7 +765,7 @@ No patron matched <span class="ex">[% message | html %]</span>
        [% IF ( notes ) %]
                        <div id="circnotes" class="circmessage">
                        <h4>Notes:</h4>
-            <p><span class="circ-hlt">[% notesmsg | html %]</span></p>
+            <p><span class="circ-hlt">[% notesmsg | $raw %]</span></p>
                        </div>
 
 
index a98cbcd..9e72106 100644 (file)
                                         [% IF ( patron.borrowernotes ) %]
                                             <li id="patron-borrowernotes">
                                                 <span class="label">Circulation note: </span>
-                                                [% patron.borrowernotes | html %]
+                                                [% patron.borrowernotes | $raw %]
                                             </li>
                                         [% END %]