[Bug 39974] New: "OpacMoreSearches" HTML customization generates invalid HTML
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39974 Bug ID: 39974 Summary: "OpacMoreSearches" HTML customization generates invalid HTML Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Tools Assignee: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org OpacMoreSearches is supposed to be one or more <li> elements. However, when you save it in HTML customizations, it'll add a <ul></ul> tags around the <li> elements you define. Moreover, when you look at the HTML, you notice how OpacMoreSearches injects a <div> into a <ul>: <ul class="nav" id="moresearches"> <li class="nav-item"></li> <div id="OpacMoreSearches"> <div class="default_item"> <div class="default_body"> <ul> <li><a>New content</a></li> </ul> </div> </div> </div> </ul> While a lot of places where we use HTML customizations can validly inject a <div>, this isn't one of them. We might want to add a way for HTML customizations to just inject content directly without using wrappers. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39974 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |24220 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24220 [Bug 24220] Convert OpacMoreSearches system preference to news block -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39974 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=39975 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39974 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- *** Bug 40637 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org