From c2dc2ed786e14fc0ab835f71be47bcc59e6bdd93 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 21 Oct 2014 14:05:31 -0400 Subject: [PATCH] [PASSED QA] Bug 13120 - Invalid HTML generated by MARC21slim2OPACResults.xsl This patch converts an id to a class in order to avoid duplicate id attributes on one page. To test you must have XSLT enabled with the default setting. Perform a search in the OPAC and confirm that the display of location looks correct. Run the resulting page through a validator using an in-browser tool like Firefox's Html Validator addon or using the W3C's validator.w3.org. The results should not complain of duplicate id attributes. Signed-off-by: Frederic Demians OK for me. Obvious mistake: I can confirm FF HTML validator reports it, and stop reporting it after applying this patch. Signed-off-by: Katrin Fischer I can confirm this fix is correct. Also, I found that jQuery doesn't like repeated ids in some cases so this will make customizing easier. --- koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index d83f3c2..e5405b8 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -1188,7 +1188,7 @@ - + Location(s): -- 1.9.1