Bug 10587

Summary: HTML errors on authority detail page in OPAC
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P5 - low CC: bgkriegel, gmcharlt, jcamins, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 10587 - HTML errors on authority detail page in OPAC
Bug 10587: fix HTML errors on authority detail page in OPAC
[PASSED QA] Bug 10587: fix HTML errors on authority detail page in OPAC

Description Katrin Fischer 2013-07-14 11:52:24 UTC
When checking the source code for some ids and classed I found that Firefox showed some red error marks in the source code. It seems 2 divs are closed, but not opened. The W3C HTML validator also points out those:

Error Line 357, Column 10: End tag div seen, but there were open elements.
    </div>

Error Line 256, Column 24: Unclosed element ul.
    <ul class="seefrom">

Error Line 381, Column 6: Stray end tag div.
</div>
Comment 1 Owen Leonard 2013-08-09 15:44:38 UTC Comment hidden (obsolete)
Comment 2 Galen Charlton 2013-08-14 14:42:31 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2013-08-27 20:41:44 UTC
Created attachment 20666 [details] [review]
[PASSED QA] Bug 10587: fix HTML errors on authority detail page in OPAC

A validator check of the OPAC's authority detail returns a few minor
errors. This patch corrects the errors.

To test, apply the patch and run an OPAC authority detail page through
an HTML validator. There should be no errors which are specific to the
authorities detail template (as opposed to header and footer includes).

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests and QA script pass.
Also checked using the W3C validator and testing the
authority detail page in the OPAC is still correctly
displayed.
Comment 4 Galen Charlton 2013-08-28 13:47:29 UTC
Pushed to master.  Thanks, Owen!
Comment 5 Tomás Cohen Arazi (tcohen) 2013-09-13 17:27:10 UTC
This patch has been pushed to 3.12.x, will be in 3.12.5.

Thanks Owen!
Comment 6 Bernardo Gonzalez Kriegel 2013-10-13 13:24:04 UTC
Pushed to 3.10.x, will be in 3.10.12