Bug 40637

Summary: OpacMoreSearches creates invalid HTML in OPAC navigation bar
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low    
Version: 24.11   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 24220    
Bug Blocks:    

Description Katrin Fischer 2025-08-12 12:15:05 UTC
Since OpacMoreSearches was moved from a system preference to a HTML customization it creates invalid HTML with a <div> directly inside an <ul> element. 

Furthermore, the WYSIWYG editor of the HTML customizations doesn't allow you to add <li> elements without a surrounding <ul> and automatically adds these "missing" elements on saving. 

So the original intent of having the navigation items being <li> items within the existing <ul> of the navigation isn't working anymore.
Comment 1 Owen Leonard 2025-08-13 12:37:55 UTC

*** This bug has been marked as a duplicate of bug 39974 ***