From d3de9bc0042ee7f661aaa7d9fdba57647a0fd7b5 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 22 Apr 2014 06:55:22 -0700 Subject: [PATCH] Bug 12123: Prevent HTML notices to break the notice viewer Depending on the content of an html notice, it can cause the notice to either not be collapsible, be uncollapsible, or to be permanently collapsed. Test Plan: 1) Set your CHECKOUT notice to the following ( with HTML Message checked ) :

The following items have been checked out:

----
<>
----

Thank you for visiting the <> of HMCPL.

2) Check out some items to a patron 3) View the patrn's notices 4) Note the notice viewer is broken ( message is not collapsed, and con't be collapsed ). 5) Apply this patch 6) Reload the page 7) Note the notice viewer is no longer broken Signed-off-by: Owen Leonard I followed the test plan successfully. Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt index 66a9d13f47..f43691c614 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt @@ -43,7 +43,7 @@ [% QUEUED_MESSAGE.subject %]
- [% QUEUED_MESSAGE.content FILTER html_line_break %] +
-- 2.39.5