The OpacMaintenanceNotice syspref states that you can enter HTML for display, but this is being rendered using the "html" filter, resulting in a less than desirable result. It should be using the $raw filter.
Created attachment 91493 [details] [review] Bug 23308: Change html to filter to $raw This patch changes the erroneous html filter to $raw Test plan: - Apply patch - Enter some HTML into the OpacMaintenanceNotice syspref - View the OPAC front page => TEST: Observe that the notice displays correctly and the HTML is not escaped
Created attachment 91500 [details] [review] Bug 23308: Change html to filter to $raw This patch changes the erroneous html filter to $raw Test plan: - Apply patch - Enter some HTML into the OpacMaintenanceNotice syspref - View the OPAC front page => TEST: Observe that the notice displays correctly and the HTML is not escaped Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Created attachment 91501 [details] [review] Bug 23308: Change html to filter to $raw This patch changes the erroneous html filter to $raw Test plan: - Apply patch - Enter some HTML into the OpacMaintenanceNotice syspref - View the OPAC front page => TEST: Observe that the notice displays correctly and the HTML is not escaped Signed-off-by: Maryse Simard <maryse.simard@inlibro.com> Signed-off-by: frederik chenier <frederik.chenier@inlibro.com>
Created attachment 91515 [details] [review] Bug 23308: Change html to filter to $raw This patch changes the erroneous html filter to $raw Test plan: - Apply patch - Enter some HTML into the OpacMaintenanceNotice syspref - View the OPAC front page => TEST: Observe that the notice displays correctly and the HTML is not escaped Signed-off-by: Maryse Simard <maryse.simard@inlibro.com> Signed-off-by: frederik chenier <frederik.chenier@inlibro.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Nice work! Pushed to master for 19.11.00
Pushed to 19.05.x for 19.05.03
backported to 18.11.x for 18.11.09