Bug 35185: Remove is_html flag from sample notices that are plain text
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 29 Oct 2023 15:20:03 +0000 (15:20 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 10 Nov 2023 01:59:58 +0000 (15:59 -1000)
commit3cacb76e8e519521ad975a00720034cb7de9c127
tree6b57fc81fb043d485690b731cd32468e67e68248
parent41c5793d70193ca1949d828e1658b646f721978b
Bug 35185: Remove is_html flag from sample notices that are plain text

Some notices had the is_html flag for new installations, but actually
didn't include any HTML formatting. These should be plain text
to have the line breaks behave as expected.

This updates:
* 2FA_OTP_TOKEN
* OPAC_REG_VERIFY

We cannot do a database update here, as libraries will
have changed and updated these. So this is only for new
installations.

To test:
* Apply patch
* reset_all (create a new sample database)
* Verify that the HTML checkbox is not set for these notices
* Verify they appear as plain text notices, not including HTML tags

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit c6284eed812eb4de52738e845b662e199f58fd1a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
installer/data/mysql/en/mandatory/sample_notices.yml