[Koha-bugs] [Bug 30287] Notices using HTML render differently in notices.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Nov 13 11:33:47 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30287
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #158654|0 |1
is obsolete| |
--- Comment #31 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 158870
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158870&action=edit
Bug 30287: Conditionally render notice preview
This patch adds conditional formatting based on whether the notice was
generated from an HTML template or a plaintext one. We simply drop the
'html_line_break' filter for the case where the notice should already be
html formatted.
I was tempted to replace the html_line_break for plaintext formatted
notices too as I believe this closer resembles how we actually output
such generated notices.. but I decided that should be for another bug.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list