Bug 35187: Fix missing line breaks in WELCOME notice
authorKatrin Fischer <katrin.fischer.83@web.de>
Fri, 10 Nov 2023 18:24:15 +0000 (18:24 +0000)
committerPedro Amorim <pedro.amorim@ptfs-europe.com>
Tue, 14 Nov 2023 14:49:26 +0000 (13:49 -0100)
commit50e8b27996eb6308f45cf689b2414bea3f853408
tree4ab39b00b46b1e2f426c51da1aae31a4cd4fe5a5
parent94ce705a7f0a65950f060ab254ab4f51189966c6
Bug 35187: Fix missing line breaks in WELCOME notice

When a notices is marked as HTML, we need to use block elements
(p, div, li, etc.) or explicit line breaks.
This adds the line breaks where required.

To test:

WELCOME
* Without patch
* Make sure your Koha can send email (set up SMTP server, KohaAdminLibraryAddress)
* Make sure your patron has an email set
* In patron account, use "More > Welcome email"
* Verify all text is on one line
* Apply patch
* reset_all to install new sample notice templates
* Repeat test, verify welcome notice is now nice

(cherry picked from commit d60fe27ea4bda16efcd0db096d756e8a54552056)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
installer/data/mysql/en/mandatory/sample_notices.yml