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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 10 Nov 2023 20:46:02 +0000 (10:46 -1000)
commitd60fe27ea4bda16efcd0db096d756e8a54552056
treeb05a0465b8ca37540e769460dbffda08bb69a8a8
parentf49e438ed9a8fcc99854fac60869e19e75f4d0f1
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
installer/data/mysql/en/mandatory/sample_notices.yml