Bug 22947: Markup error in OPAC preferences file
authorOwen Leonard <oleonard@myacpl.org>
Tue, 21 May 2019 13:19:17 +0000 (13:19 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 10 Jun 2019 14:02:48 +0000 (16:02 +0200)
commit327977abd6fe95ff8ee8f743d690e3efc45501d5
tree8dc9a138b3cab9c0c7558d1e2f4cb6c3da37eced
parentf59aff442748b447caab068743f011f94ff3ad29
Bug 22947: Markup error in OPAC preferences file

This patch corrects a markup error in the OPAC .pref file which can
cause display problems. The patch also corrects a validator warning by
changing at <tt> to a <code>.

To reproduce the problem, go to Administration -> Global system
preferences -> OPAC.

Run the page through the W3C validation service:
https://validator.w3.org. Either by pasting in the URL for the search
results (if web accessible) or by viewing source, copying, and pasting
into "Validate by Direct Input."

This patch addresses two specific errors:

 - "Unclosed element code."
 - "The tt element is obsolete. Use CSS instead."

To test, apply the patch and try again to reproduce the validation
errors. Those errors should no longer be present. There should be no
visible change to the display.

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 87cbb27826a9d03a424e8c944293669157924a01)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref