[Koha-bugs] [Bug 34704] Print templates are formatted incorrectly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 26 23:52:53 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34704
--- Comment #20 from Lucas Gass <lucas at bywatersolutions.com> ---
I have a question. When we tick the box to make a notice an HTML message (
is_html=1 ) do we expect in the entire template to marked up? In Matt's example
that is the case.
I ask because we have a lot of templates where this is not the case. For
instance someone might add a logo at the top of the notice, <img src="somesorc"
width="500" alt="somealt" />
But after that they rest of the notice is NOT marked up. So here is my example
template:
****
<div id="test">TEST1</div>
Our Address
Our City
Our State
Thank you,
Library
****
With no patch applied I continue to have line breaks honored for the content
NOT wrapped in HTML elements.
With the patch my non-marked up content looks like this:
****
Our Address Our City Our State
Thank you,
Library
****
With no regex, like Cait suggests I get this for my non-marked up content:
****
Our Address Our City Our State Thank you, Library
****
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list