diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt
index a0c40f0c03..274ca3a637 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt
@@ -5,6 +5,7 @@
[% USE ItemTypes %]
[% USE Branches %]
[% USE TablesSettings %]
+[% USE HtmlScrubber %]
[% PROCESS 'i18n.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
@@ -87,7 +88,7 @@
Staff note [% course.staff_note | html %]
- Public note [% course.public_note | $raw %]
+ Public note [% course.public_note | scrub_html type => 'note' | $raw %]
Student count [% course.students_count | html %]
Status [% IF course.enabled == 'yes' %]Active[% ELSE %]Inactive[% END %]
@@ -248,9 +249,9 @@
[% END %]
[% IF (cr.public_note) %]
- [% cr.public_note | $raw %]
+ [% cr.public_note | scrub_html type => 'note' | $raw %]
[% ELSIF (cr.item.itemnotes) %]
- [% cr.item.itemnotes | $raw %]
+ [% cr.item.itemnotes | scrub_html type => 'note' | $raw %]
[% END %]
|
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt
index 50f12bfeb6..44e244a9f7 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt
@@ -2,7 +2,7 @@
[% USE Asset %]
[% USE AuthorisedValues %]
[% USE TablesSettings %]
-[% SET footerjs = 1 %]
+[% USE HtmlScrubber %]
[% PROCESS 'i18n.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
Course reserves › Koha
@@ -71,7 +71,7 @@
[% END %]
[% c.staff_note | html %] |
- [% c.public_note | $raw %] |
+ [% c.public_note | scrub_html type => 'note' | $raw %] |
[% c.students_count | html %] |
[% IF c.enabled == 'yes' %]
diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt
index 42df1cef2e..598b3a2941 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt
@@ -6,6 +6,7 @@
[% USE ItemTypes %]
[% USE Branches %]
[% USE TablesSettings %]
+[% USE HtmlScrubber %]
[% PROCESS 'i18n.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
Course reserves for [% course.course_name | html %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog
@@ -54,7 +55,7 @@
[% END %]
- [% IF ( course.public_note ) %]Notes: [% course.public_note | $raw %][% END %]
+ [% IF ( course.public_note ) %]Notes: [% course.public_note | scrub_html type => 'note' | $raw %][% END %]
@@ -95,9 +96,9 @@
|
[% cr.issue.date_due | $KohaDates as_due_date => 1 %] |
[% IF ( cr.public_note ) %]
- [% cr.public_note | $raw %]
+ [% cr.public_note | scrub_html type => 'note' | $raw %]
[% ELSIF ( cr.item.itemnotes ) %]
- [% cr.item.itemnotes | $raw %]
+ [% cr.item.itemnotes | scrub_html type => 'note' | $raw %]
[% END %]
|
[% IF (cr.item.uri) %]
diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt
index 0b5e0aabf3..dc69278e22 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt
@@ -6,6 +6,7 @@
[% PROCESS 'i18n.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
+[% USE HtmlScrubber %]
Courses › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog
[% INCLUDE 'doc-head-close.inc' %]
[% BLOCK cssinclude %]
@@ -62,7 +63,7 @@
[% i.surname | html %][% IF i.firstname %], [% i.firstname | html %][% END %]
[% END %]
|
- [% c.public_note | $raw %] |
+ [% c.public_note | scrub_html type => 'note' | $raw %] |
|
[% END %]