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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to