[Koha-bugs] [Bug 35285] Centralise notice content wrapping for html output

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 8 11:40:16 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35285

--- Comment #1 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 158657
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158657&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list