Bugzilla – Attachment 80992 Details for
Bug 21529
Fix display of HTML tags in print notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21529: (bug 13618 follow-up) Display print notices with HTML tags
Bug-21529-bug-13618-follow-up-Display-print-notice.patch (text/plain), 1.17 KB, created by
Jonathan Druart
on 2018-10-22 20:55:03 UTC
(
hide
)
Description:
Bug 21529: (bug 13618 follow-up) Display print notices with HTML tags
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-10-22 20:55:03 UTC
Size:
1.17 KB
patch
obsolete
>From 74e2eecf0929b37b10f86f19af0574f7a1fbc1d0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 22 Oct 2018 17:52:46 -0300 >Subject: [PATCH] Bug 21529: (bug 13618 follow-up) Display print notices with > HTML tags > >Replace a wrong html filter with raw. > >Test plan: >Define a HOLD or DISCHARGE notice template, with html tags. >Generate them and confirm that html tags are displayed (which restore >the existing behaviour prior to bug 13618) >--- > koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt >index 11939e9e74..7e2078c404 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt >@@ -18,7 +18,7 @@ > <body id="batch_print-notices" class="batch"> > [% FOREACH message IN messages %] > <div class="message"> >- <pre>[% message.content | html %]</pre> >+ <pre>[% message.content | $raw %]</pre> > </div> > [% END %] > </body> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21529
:
80992
|
81503
|
81505
|
81545
|
81546
|
81885
|
81886