Bug 40637 - OpacMoreSearches creates invalid HTML in OPAC navigation bar
Summary: OpacMoreSearches creates invalid HTML in OPAC navigation bar
Status: RESOLVED DUPLICATE of bug 39974
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: 24.11
Hardware: All All
: P5 - low minor
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 24220
Blocks:
  Show dependency treegraph
 
Reported: 2025-08-12 12:15 UTC by Katrin Fischer
Modified: 2025-08-13 12:37 UTC (History)
0 users

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***