From 98fe6739e4b7018ab002455559c9d0454edef6b5 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 21 May 2019 16:59:38 +0000 Subject: [PATCH] Bug 22954: Minor markup error in OPAC messaging template This patch corrects a minor error in opac-messaging.tt in order to quiet errors returned by the HTML validator. To reproduce the problem you should have the EnhancedMessagingPreferencesOPAC system preference enabled. Log in to the OPAC and go to the "your messaging" page. 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 this error: - "Self-closing syntax (/>) used on a non-void HTML element. Ignoring the slash and treating as a start tag." To test, apply the patch and try again to reproduce the validation error. The error should no longer be present. There should be no visible change to the page. Signed-off-by: Nadine Pierre Signed-off-by: Arthur Bousquet Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize (cherry picked from commit d5a8a424203cd426f7d0bd64597a6ac95536ef9c) Signed-off-by: Fridolin Somers (cherry picked from commit feb8f84ef7a92038a544aaa2f44584ee848451fd) Signed-off-by: Lucas Gass --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt index 7a190c68ae..e6e8ce9f04 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt @@ -141,7 +141,7 @@ [% IF ( SMSSendDriver == 'Email' ) %]
  1. - [% FOREACH s IN sms_providers %] [% IF s.id == sms_provider_id %] -- 2.39.2