Bug 23683: Course reserves public notes on specific items should allow for HTML
authorLucas Gass <lucas@bywatersolutions.com>
Sun, 22 Sep 2019 02:01:23 +0000 (02:01 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 27 Sep 2019 13:00:49 +0000 (14:00 +0100)
Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt

index d593f32..8fc19da 100644 (file)
                                 [% END %]
                             </td>
                             <td>[% IF (cr.public_note) %]
-                                    [% cr.public_note | html %]
+                                    [% cr.public_note | $raw %]
                                 [% ELSIF (cr.item.itemnotes) %]
                                     [% cr.item.itemnotes | $raw %]
                                 [% END %]
index b47c376..6e2c2ef 100644 (file)
@@ -78,7 +78,7 @@
                                     <td>[% INCLUDE 'item-status.inc' item=cr.item issue=cr.issue %]</td>
                                     <td><span title="[% cr.issue.date_due | html %]">[% cr.issue.date_due | $KohaDates  as_due_date => 1 %]</span></td>
                                     <td>[% IF ( cr.public_note ) %]
-                                            [% cr.public_note | html %]
+                                            [% cr.public_note | $raw %]
                                         [% ELSIF ( cr.item.itemnotes ) %]
                                             [% cr.item.itemnotes | $raw %]
                                         [% END %]