[Koha-bugs] [Bug 34704] Print templates are formatted incorrectly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 26 15:53:59 CEST 2023


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

Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.koha-community
                   |                            |.org/bugzilla3/show_bug.cgi
                   |                            |?id=34728

--- Comment #11 from Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> ---
You're correct with your example but I've added bug 34728 to the "See also"
section - in that bug we wrap any notice template where is_html=0 in a <pre>
tag to preserve the formatting.

That should fix the scenario you mention (I think) - the <br /> tag will only
be inserted where there are empty lines rather than on every line, the \n will
be preserved by the <pre> tag when the content is rendered.

Let me know your thoughts, I'll update the commit title in the meantime

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


More information about the Koha-bugs mailing list