Koha-clms/Koha/Notice
Martin Renvoize 5e9c9cb822 Bug 35285: Add non-html template support to html_content wrapping
This patch adds support for messages generated using non-html formatted
notice templates to the html_content method of Koha::Notice::Message.

We continue to wrap content for html generated messages with the
appropriate headers, css and title.

For non-html generated content we wrap in the <div style="white-space:
pre-wrap"> block to maintain text formatting as defined in the original
plaintext template.

Test
Follow the test plan for bug 30287, nothing should outwardly change.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 6b413acfc4)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2024-05-29 15:18:03 +02:00
..
Message.pm Bug 35285: Add non-html template support to html_content wrapping 2024-05-29 15:18:03 +02:00
Messages.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Template.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Templates.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Util.pm Bug 33843: Use filter_by_last_update in Koha::Notice::Util 2023-10-11 10:31:45 -03:00